public class CommunicationContext extends Context
Modifier and Type | Class and Description |
---|---|
static class |
CommunicationContext.JoinAlgorithm |
static class |
CommunicationContext.JoinType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALLGATHER |
static java.lang.String |
ALLREDUCE |
static java.lang.String |
ALLTOALL_ALGO_KEY |
static java.lang.String |
ALLTOALL_ALGO_RING |
static java.lang.String |
ALLTOALL_ALGO_SIMPLE |
static java.lang.String |
BROADCAST |
static java.lang.String |
BUFFER_SIZE |
static java.lang.String |
CHANNEL_PENDING_SIZE |
static java.nio.ByteOrder |
DEFAULT_BYTEORDER |
static int |
DEFAULT_DESTINATION |
static java.lang.String |
DIRECT |
static java.util.List<java.lang.Object> |
EMPTY_OBJECT |
static java.lang.String |
GATHER |
static java.lang.String |
GROUP_BY_KEY |
static java.lang.String |
INTER_NODE_DEGREE |
static java.lang.String |
INTRA_NODE_DEGREE |
static java.lang.String |
JOIN |
static java.lang.String |
JOIN_ALGORITHM |
static java.lang.String |
JOIN_TYPE
Type of the join algorithm to apply with join operation
|
static java.lang.String |
KEY_COMPARATOR
Twister2 keyed operations sometimes requires to compare keys.
|
static java.lang.String |
KEYED_GATHER |
static java.lang.String |
KEYED_PARTITION |
static java.lang.String |
KEYED_REDUCE |
static java.lang.String |
MESSAGE_GROUP_HIGH_WATERMARK |
static java.lang.String |
MESSAGE_GROUP_LOW_WATERMARK |
static java.lang.String |
MESSAGE_GROUPING_SIZE |
static java.lang.String |
PARTITION |
static java.lang.String |
PERSISTENT_DIRECTORIES |
static java.lang.String |
PERSISTENT_DIRECTORY_DEFAULT_VALUE |
static java.lang.String |
RECEIVE_BUFFERS_COUNT |
static java.lang.String |
REDUCE |
static java.lang.String |
RING_GROUPING_WORKER_PER_GROUPS |
static java.lang.String |
ROW_SCHEMA |
static java.lang.String |
SEND_BUFFERS_COUNT |
static java.lang.String |
SEND_PENDING_MAX |
static java.lang.String |
SHUFFLE_MAX_BYTES_IN_MEMORY |
static java.lang.String |
SHUFFLE_MAX_FILE_SIZE |
static java.lang.String |
SHUFFLE_MAX_RECORDS_IN_MEMORY |
static java.lang.String |
SHUFFLE_PARALLEL_IO |
static java.lang.String |
SORT_BY_KEY
Some keyed communication operations are capable of sorting the outputs by key.
|
static java.lang.String |
TABLE_PARTITION |
static java.lang.String |
TABLE_PIPE |
static java.lang.String |
USE_DISK
Twister2 has the support to use disk for some operations.
|
AURORA_SCRIPT, CHECKPOINT_YAML, CLUSTER, CLUSTER_CONF, CLUSTER_HOME, CORE_YAML, DATA_YAML, defaults, GRAPH_TYPE, HOME, JAVA_HOME, JOB, JOB_ARCHIVE_DIRECTORY, JOB_ID, JOB_NAME, JOB_OBJECT, NETWORK_YAML, OPERATION_NAME, OVERRIDE_YAML, RESOURCE_SCHEDULER_YAML, STREAMING, substitutions, TASK_YAML, TWISTER2_BANDWIDTH, TWISTER2_BIN, TWISTER2_CLUSTER_TYPE, TWISTER2_COMMON_CONF_DIR, TWISTER2_CONF, TWISTER2_CONTAINER_ID, TWISTER2_DIRECT_EDGE, TWISTER2_DIST, TWISTER2_GRAPH_JOB, TWISTER2_HOME, TWISTER2_LATENCY, TWISTER2_LIB, TWISTER2_MAX_TASK_INSTANCES_PER_WORKER, TWISTER2_TASK_INSTANCE_ODD_PARALLELISM, TWISTER2_TSET_JOB, TWISTER2_WORKER_INSTANCES, TWISTER2_WORKER_INSTANCES_DEFAULT, USER_NAME, VERBOSE
Constructor and Description |
---|
CommunicationContext() |
Modifier and Type | Method and Description |
---|---|
static int |
bufferSize(Config cfg) |
static int |
getNetworkPartitionBatchGroupingSize(Config cfg) |
static int |
getNetworkPartitionMessageGroupHighWaterMark(Config cfg) |
static int |
getNetworkPartitionMessageGroupLowWaterMark(Config cfg) |
static int |
getParallelIOAllowance(Config cfg) |
static int |
getRingWorkersPerGroup(Config cfg) |
static long |
getShuffleFileSize(Config cfg) |
static long |
getShuffleMaxBytesInMemory(Config cfg) |
static long |
getShuffleMaxRecordsInMemory(Config cfg) |
static int |
interNodeDegree(Config cfg,
int defaultValue) |
static int |
intraNodeDegree(Config cfg,
int defaultValue) |
static int |
networkChannelPendingSize(Config cfg) |
static java.lang.String |
partitionAlgorithm(Config cfg) |
static java.util.List<java.lang.String> |
persistentDirectory(Config cfg) |
static int |
receiveBufferCount(Config cfg) |
static int |
sendBuffersCount(Config cfg) |
static int |
sendPendingMax(Config cfg) |
auroraScript, checkpointCofigurationFile, checkpointConfigurationFile, clusterType, commonConfDir, conf, containerId, dataConfigurationFile, distDirectory, getDefaults, getDoublePropertyValue, getIntPropertyValue, getLongPropertyValue, getStringPropertyValue, isKubernetesCluster, jobId, jobName, libDirectory, networkConfigurationFile, resourceSchedulerConfigurationFile, systemConfigurationFile, taskConfigurationFile, twister2Home, userName, verbose, workerInstances
public static final java.lang.String REDUCE
public static final java.lang.String GATHER
public static final java.lang.String PARTITION
public static final java.lang.String ALLGATHER
public static final java.lang.String ALLREDUCE
public static final java.lang.String BROADCAST
public static final java.lang.String KEYED_PARTITION
public static final java.lang.String KEYED_REDUCE
public static final java.lang.String KEYED_GATHER
public static final java.lang.String DIRECT
public static final java.lang.String JOIN
public static final java.lang.String TABLE_PARTITION
public static final java.lang.String TABLE_PIPE
public static final java.lang.String INTER_NODE_DEGREE
public static final java.lang.String INTRA_NODE_DEGREE
public static final java.nio.ByteOrder DEFAULT_BYTEORDER
public static final java.lang.String PERSISTENT_DIRECTORIES
public static final java.lang.String PERSISTENT_DIRECTORY_DEFAULT_VALUE
public static final java.lang.String ALLTOALL_ALGO_KEY
public static final java.lang.String ALLTOALL_ALGO_SIMPLE
public static final java.lang.String ALLTOALL_ALGO_RING
public static final java.lang.String BUFFER_SIZE
public static final java.lang.String SEND_BUFFERS_COUNT
public static final java.lang.String RECEIVE_BUFFERS_COUNT
public static final java.lang.String SEND_PENDING_MAX
public static final java.lang.String CHANNEL_PENDING_SIZE
public static final java.lang.String MESSAGE_GROUP_LOW_WATERMARK
public static final java.lang.String MESSAGE_GROUP_HIGH_WATERMARK
public static final java.lang.String MESSAGE_GROUPING_SIZE
public static final java.lang.String SHUFFLE_MAX_BYTES_IN_MEMORY
public static final java.lang.String SHUFFLE_MAX_RECORDS_IN_MEMORY
public static final java.lang.String SHUFFLE_MAX_FILE_SIZE
public static final java.lang.String SHUFFLE_PARALLEL_IO
public static final java.lang.String RING_GROUPING_WORKER_PER_GROUPS
public static final int DEFAULT_DESTINATION
public static final java.util.List<java.lang.Object> EMPTY_OBJECT
public static final java.lang.String USE_DISK
public static final java.lang.String ROW_SCHEMA
public static final java.lang.String KEY_COMPARATOR
public static final java.lang.String JOIN_TYPE
public static final java.lang.String JOIN_ALGORITHM
public static final java.lang.String SORT_BY_KEY
public static final java.lang.String GROUP_BY_KEY
public static int interNodeDegree(Config cfg, int defaultValue)
public static int intraNodeDegree(Config cfg, int defaultValue)
public static java.util.List<java.lang.String> persistentDirectory(Config cfg)
public static java.lang.String partitionAlgorithm(Config cfg)
public static int bufferSize(Config cfg)
public static int sendBuffersCount(Config cfg)
public static int receiveBufferCount(Config cfg)
public static int sendPendingMax(Config cfg)
public static int networkChannelPendingSize(Config cfg)
public static int getNetworkPartitionMessageGroupLowWaterMark(Config cfg)
public static int getNetworkPartitionMessageGroupHighWaterMark(Config cfg)
public static long getShuffleMaxRecordsInMemory(Config cfg)
public static long getShuffleMaxBytesInMemory(Config cfg)
public static int getNetworkPartitionBatchGroupingSize(Config cfg)
public static long getShuffleFileSize(Config cfg)
public static int getParallelIOAllowance(Config cfg)
public static int getRingWorkersPerGroup(Config cfg)