This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package io.netty.buffer; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| /** | |
| * | |
| */ | |
| public class Test { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String desc = String.format( "Iteration %s of %s", step, iterations ); | |
| merge( new Job().setDelegate( IterJob.Map.class ) | |
| .setInput( graph_by_source , | |
| "/pr/out/rank_vector" , | |
| "/pr/out/dangling" , | |
| "/pr/out/nonlinked" , | |
| "broadcast:/pr/out/nr_nodes" ) | |
| .setOutput( "shuffle:default", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void test1() throws Exception { | |
| List<Long> delayOptions = Longs.asList( 0, 1000 ); | |
| List<Boolean> chunkOptions = Booleans.asList( true, false ); | |
| for( long delay : delayOptions ) { | |
| for ( boolean chunked : chunkOptions ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### | |
| # Main peregrine configuration file. All values here can be overridden on the | |
| # command line by running --param=value. For example to change the default | |
| # basedir you can run with --basedir=/d0/peregrine-fs | |
| # | |
| ### | |
| ### | |
| # | |
| # The controller which will send and receive RPC messages and handle job |
NewerOlder