@PublicEvolving public class TaskManagerOptions extends Object
Modifier and Type | Field and Description |
---|---|
static ConfigOption<Integer> |
DATA_PORT
The default network port the task manager expects to receive transfer envelopes on.
|
static ConfigOption<Boolean> |
DATA_SSL_ENABLED
Config parameter to override SSL support for taskmanager's data transport.
|
static ConfigOption<Boolean> |
DEBUG_MEMORY_LOG |
static ConfigOption<Long> |
DEBUG_MEMORY_USAGE_LOG_INTERVAL_MS |
static ConfigOption<Boolean> |
EXIT_ON_FATAL_AKKA_ERROR
Whether the quarantine monitor for task managers shall be started.
|
static ConfigOption<String> |
HOST
The config parameter defining the task manager's hostname.
|
static ConfigOption<String> |
INITIAL_REGISTRATION_BACKOFF
The initial registration backoff between two consecutive registration attempts.
|
static ConfigOption<Boolean> |
KILL_ON_OUT_OF_MEMORY
Whether to kill the TaskManager when the task thread throws an OutOfMemoryError.
|
static ConfigOption<Float> |
MANAGED_MEMORY_FRACTION
Fraction of free memory allocated by the memory manager if
MANAGED_MEMORY_SIZE is
not set. |
static ConfigOption<Boolean> |
MANAGED_MEMORY_PRE_ALLOCATE
Whether TaskManager managed memory should be pre-allocated when the TaskManager is starting.
|
static ConfigOption<Long> |
MANAGED_MEMORY_SIZE
Amount of memory to be allocated by the task manager's memory manager (in megabytes).
|
static ConfigOption<Boolean> |
MEMORY_OFF_HEAP
Memory allocation method (JVM heap or off-heap), used for managed memory of the TaskManager
as well as the network buffers.
|
static ConfigOption<Integer> |
MEMORY_SEGMENT_SIZE
Size of memory buffers used by the network stack and the memory manager (in bytes).
|
static ConfigOption<Float> |
NETWORK_BUFFERS_MEMORY_FRACTION
Fraction of JVM memory to use for network buffers.
|
static ConfigOption<Long> |
NETWORK_BUFFERS_MEMORY_MAX
Maximum memory size for network buffers (in bytes).
|
static ConfigOption<Long> |
NETWORK_BUFFERS_MEMORY_MIN
Minimum memory size for network buffers (in bytes).
|
static ConfigOption<Integer> |
NETWORK_BUFFERS_PER_CHANNEL
Number of network buffers to use for each outgoing/incoming channel (subpartition/input channel).
|
static ConfigOption<Boolean> |
NETWORK_CREDIT_MODEL
Deprecated.
Will be removed for Flink 1.6 when the old code will be dropped in favour of
credit-based flow control.
|
static ConfigOption<Boolean> |
NETWORK_DETAILED_METRICS
Boolean flag to enable/disable more detailed metrics about inbound/outbound network queue
lengths.
|
static ConfigOption<Integer> |
NETWORK_EXTRA_BUFFERS_PER_GATE
Number of extra network buffers to use for each outgoing/incoming gate (result partition/input gate).
|
static ConfigOption<Integer> |
NETWORK_NUM_BUFFERS
Deprecated.
|
static ConfigOption<Integer> |
NETWORK_REQUEST_BACKOFF_INITIAL
Minimum backoff for partition requests of input channels.
|
static ConfigOption<Integer> |
NETWORK_REQUEST_BACKOFF_MAX
Maximum backoff for partition requests of input channels.
|
static ConfigOption<Integer> |
NUM_TASK_SLOTS
The config parameter defining the number of task slots of a task manager.
|
static ConfigOption<String> |
REFUSED_REGISTRATION_BACKOFF
The backoff after a registration has been refused by the job manager before retrying to connect.
|
static ConfigOption<String> |
REGISTRATION_MAX_BACKOFF
The maximum registration backoff between two consecutive registration attempts.
|
static ConfigOption<String> |
REGISTRATION_TIMEOUT
Defines the timeout it can take for the TaskManager registration.
|
static ConfigOption<String> |
RPC_PORT
The default network port range the task manager expects incoming IPC connections.
|
static ConfigOption<Long> |
TASK_CANCELLATION_INTERVAL
Time interval in milliseconds between two successive task cancellation
attempts.
|
static ConfigOption<Long> |
TASK_CANCELLATION_TIMEOUT
Timeout in milliseconds after which a task cancellation times out and
leads to a fatal TaskManager error.
|
static ConfigOption<Long> |
TASK_CANCELLATION_TIMEOUT_TIMERS
This configures how long we wait for the timers to finish all pending timer threads
when the stream task is cancelled .
|
static ConfigOption<Long> |
TASK_CHECKPOINT_ALIGNMENT_BYTES_LIMIT
The maximum number of bytes that a checkpoint alignment may buffer.
|
static ConfigOption<Integer> |
TASK_MANAGER_HEAP_MEMORY
JVM heap size (in megabytes) for the TaskManagers.
|
public static final ConfigOption<Integer> TASK_MANAGER_HEAP_MEMORY
public static final ConfigOption<Boolean> KILL_ON_OUT_OF_MEMORY
public static final ConfigOption<Boolean> EXIT_ON_FATAL_AKKA_ERROR
public static final ConfigOption<String> HOST
public static final ConfigOption<String> RPC_PORT
"0"
means that
the TaskManager searches for a free port.public static final ConfigOption<Integer> DATA_PORT
0
means that
the TaskManager searches for a free port.public static final ConfigOption<Boolean> DATA_SSL_ENABLED
public static final ConfigOption<String> INITIAL_REGISTRATION_BACKOFF
public static final ConfigOption<String> REGISTRATION_MAX_BACKOFF
public static final ConfigOption<String> REFUSED_REGISTRATION_BACKOFF
public static final ConfigOption<String> REGISTRATION_TIMEOUT
public static final ConfigOption<Integer> NUM_TASK_SLOTS
public static final ConfigOption<Boolean> DEBUG_MEMORY_LOG
public static final ConfigOption<Long> DEBUG_MEMORY_USAGE_LOG_INTERVAL_MS
public static final ConfigOption<Integer> MEMORY_SEGMENT_SIZE
public static final ConfigOption<Long> MANAGED_MEMORY_SIZE
MANAGED_MEMORY_FRACTION
.public static final ConfigOption<Float> MANAGED_MEMORY_FRACTION
MANAGED_MEMORY_SIZE
is
not set.public static final ConfigOption<Boolean> MEMORY_OFF_HEAP
public static final ConfigOption<Boolean> MANAGED_MEMORY_PRE_ALLOCATE
@Deprecated public static final ConfigOption<Integer> NETWORK_NUM_BUFFERS
NETWORK_BUFFERS_MEMORY_FRACTION
, NETWORK_BUFFERS_MEMORY_MIN
,
and NETWORK_BUFFERS_MEMORY_MAX
insteadpublic static final ConfigOption<Float> NETWORK_BUFFERS_MEMORY_FRACTION
public static final ConfigOption<Long> NETWORK_BUFFERS_MEMORY_MIN
public static final ConfigOption<Long> NETWORK_BUFFERS_MEMORY_MAX
public static final ConfigOption<Integer> NETWORK_BUFFERS_PER_CHANNEL
Reasoning: 1 buffer for in-flight data in the subpartition + 1 buffer for parallel serialization.
public static final ConfigOption<Integer> NETWORK_EXTRA_BUFFERS_PER_GATE
public static final ConfigOption<Integer> NETWORK_REQUEST_BACKOFF_INITIAL
public static final ConfigOption<Integer> NETWORK_REQUEST_BACKOFF_MAX
public static final ConfigOption<Boolean> NETWORK_DETAILED_METRICS
@Deprecated public static final ConfigOption<Boolean> NETWORK_CREDIT_MODEL
public static final ConfigOption<Long> TASK_CANCELLATION_INTERVAL
public static final ConfigOption<Long> TASK_CANCELLATION_TIMEOUT
0
deactivates
the watch dog.public static final ConfigOption<Long> TASK_CANCELLATION_TIMEOUT_TIMERS
public static final ConfigOption<Long> TASK_CHECKPOINT_ALIGNMENT_BYTES_LIMIT
The default value of -1
indicates that there is no limit.
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.