public enum GridHadoopJobProperty extends Enum<GridHadoopJobProperty>
| Enum Constant and Description |
|---|
COMBINER_HASHMAP_SIZE
Initial size for hashmap which stores output of mapper and will be used as input of combiner.
|
EXTERNAL_CONCURRENT_MAPPERS
Specifies number of concurrently running mappers for external execution mode.
|
EXTERNAL_CONCURRENT_REDUCERS
Specifies number of concurrently running reducers for external execution mode.
|
JOB_STATUS_POLL_DELAY
Delay in milliseconds after which Ignite server will reply job status.
|
PARTITION_HASHMAP_SIZE
Initial size for hashmap which stores output of mapper or combiner and will be used as input of reducer.
|
SHUFFLE_COMBINER_NO_SORTING
If set to
true then input for combiner will not be sorted by key. |
SHUFFLE_OFFHEAP_PAGE_SIZE
Size in bytes of single memory page which will be allocated for data structures in shuffle.
|
SHUFFLE_REDUCER_NO_SORTING
If set to
true then input for reducer will not be sorted by key. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
get(GridHadoopJobInfo jobInfo,
GridHadoopJobProperty pty,
boolean dflt) |
static int |
get(GridHadoopJobInfo jobInfo,
GridHadoopJobProperty pty,
int dflt) |
static String |
get(GridHadoopJobInfo jobInfo,
GridHadoopJobProperty pty,
String dflt) |
String |
propertyName() |
static GridHadoopJobProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridHadoopJobProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridHadoopJobProperty COMBINER_HASHMAP_SIZE
Setting it right allows to avoid rehashing.
public static final GridHadoopJobProperty PARTITION_HASHMAP_SIZE
Setting it right allows to avoid rehashing.
public static final GridHadoopJobProperty EXTERNAL_CONCURRENT_MAPPERS
If not specified, defaults to Runtime.getRuntime().availableProcessors().
public static final GridHadoopJobProperty EXTERNAL_CONCURRENT_REDUCERS
If not specified, defaults to Runtime.getRuntime().availableProcessors().
public static final GridHadoopJobProperty JOB_STATUS_POLL_DELAY
public static final GridHadoopJobProperty SHUFFLE_OFFHEAP_PAGE_SIZE
By default is 32 * 1024.
public static final GridHadoopJobProperty SHUFFLE_COMBINER_NO_SORTING
true then input for combiner will not be sorted by key.
Internally hash-map will be used instead of sorted one, so Object.equals(Object)
and Object.hashCode() methods of key must be implemented consistently with
comparator for that type. Grouping comparator is not supported if this setting is true.
By default is false.
public static final GridHadoopJobProperty SHUFFLE_REDUCER_NO_SORTING
true then input for reducer will not be sorted by key.
Internally hash-map will be used instead of sorted one, so Object.equals(Object)
and Object.hashCode() methods of key must be implemented consistently with
comparator for that type. Grouping comparator is not supported if this setting is true.
By default is false.
public static GridHadoopJobProperty[] values()
for (GridHadoopJobProperty c : GridHadoopJobProperty.values()) System.out.println(c);
public static GridHadoopJobProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String propertyName()
public static String get(GridHadoopJobInfo jobInfo, GridHadoopJobProperty pty, @Nullable String dflt)
jobInfo - Job info.pty - Property.dflt - Default value.public static int get(GridHadoopJobInfo jobInfo, GridHadoopJobProperty pty, int dflt)
jobInfo - Job info.pty - Property.dflt - Default value.public static boolean get(GridHadoopJobInfo jobInfo, GridHadoopJobProperty pty, boolean dflt)
jobInfo - Job info.pty - Property.dflt - Default value.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015