Package org.apache.spark.status.protobuf
Interface StoreTypes.TaskDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoreTypes.TaskData
,StoreTypes.TaskData.Builder
- Enclosing class:
- StoreTypes
public static interface StoreTypes.TaskDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
map<string, string> executor_logs = 16;
getAccumulatorUpdates
(int index) repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
int
repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
getAccumulatorUpdatesOrBuilder
(int index) repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
List<? extends StoreTypes.AccumulableInfoOrBuilder>
repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
int
int32 attempt = 3;
long
optional int64 duration = 7;
optional string error_message = 14;
com.google.protobuf.ByteString
optional string error_message = 14;
optional string executor_id = 8;
com.google.protobuf.ByteString
optional string executor_id = 8;
Deprecated.int
map<string, string> executor_logs = 16;
map<string, string> executor_logs = 16;
getExecutorLogsOrDefault
(String key, String defaultValue) map<string, string> executor_logs = 16;
map<string, string> executor_logs = 16;
long
int64 getting_result_time = 18;
getHost()
optional string host = 9;
com.google.protobuf.ByteString
optional string host = 9;
int
getIndex()
int32 index = 2;
long
int64 launch_time = 5;
int
int32 partition_id = 4;
long
optional int64 result_fetch_start = 6;
long
int64 scheduler_delay = 17;
boolean
bool speculative = 12;
optional string status = 10;
com.google.protobuf.ByteString
optional string status = 10;
long
int64 task_id = 1;
optional string task_locality = 11;
com.google.protobuf.ByteString
optional string task_locality = 11;
optional .org.apache.spark.status.protobuf.TaskMetrics task_metrics = 15;
optional .org.apache.spark.status.protobuf.TaskMetrics task_metrics = 15;
boolean
optional int64 duration = 7;
boolean
optional string error_message = 14;
boolean
optional string executor_id = 8;
boolean
hasHost()
optional string host = 9;
boolean
optional int64 result_fetch_start = 6;
boolean
optional string status = 10;
boolean
optional string task_locality = 11;
boolean
optional .org.apache.spark.status.protobuf.TaskMetrics task_metrics = 15;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTaskId
long getTaskId()int64 task_id = 1;
- Returns:
- The taskId.
-
getIndex
int getIndex()int32 index = 2;
- Returns:
- The index.
-
getAttempt
int getAttempt()int32 attempt = 3;
- Returns:
- The attempt.
-
getPartitionId
int getPartitionId()int32 partition_id = 4;
- Returns:
- The partitionId.
-
getLaunchTime
long getLaunchTime()int64 launch_time = 5;
- Returns:
- The launchTime.
-
hasResultFetchStart
boolean hasResultFetchStart()optional int64 result_fetch_start = 6;
- Returns:
- Whether the resultFetchStart field is set.
-
getResultFetchStart
long getResultFetchStart()optional int64 result_fetch_start = 6;
- Returns:
- The resultFetchStart.
-
hasDuration
boolean hasDuration()optional int64 duration = 7;
- Returns:
- Whether the duration field is set.
-
getDuration
long getDuration()optional int64 duration = 7;
- Returns:
- The duration.
-
hasExecutorId
boolean hasExecutorId()optional string executor_id = 8;
- Returns:
- Whether the executorId field is set.
-
getExecutorId
String getExecutorId()optional string executor_id = 8;
- Returns:
- The executorId.
-
getExecutorIdBytes
com.google.protobuf.ByteString getExecutorIdBytes()optional string executor_id = 8;
- Returns:
- The bytes for executorId.
-
hasHost
boolean hasHost()optional string host = 9;
- Returns:
- Whether the host field is set.
-
getHost
String getHost()optional string host = 9;
- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()optional string host = 9;
- Returns:
- The bytes for host.
-
hasStatus
boolean hasStatus()optional string status = 10;
- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()optional string status = 10;
- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()optional string status = 10;
- Returns:
- The bytes for status.
-
hasTaskLocality
boolean hasTaskLocality()optional string task_locality = 11;
- Returns:
- Whether the taskLocality field is set.
-
getTaskLocality
String getTaskLocality()optional string task_locality = 11;
- Returns:
- The taskLocality.
-
getTaskLocalityBytes
com.google.protobuf.ByteString getTaskLocalityBytes()optional string task_locality = 11;
- Returns:
- The bytes for taskLocality.
-
getSpeculative
boolean getSpeculative()bool speculative = 12;
- Returns:
- The speculative.
-
getAccumulatorUpdatesList
List<StoreTypes.AccumulableInfo> getAccumulatorUpdatesList()repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
-
getAccumulatorUpdates
repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
-
getAccumulatorUpdatesCount
int getAccumulatorUpdatesCount()repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
-
getAccumulatorUpdatesOrBuilderList
List<? extends StoreTypes.AccumulableInfoOrBuilder> getAccumulatorUpdatesOrBuilderList()repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
-
getAccumulatorUpdatesOrBuilder
repeated .org.apache.spark.status.protobuf.AccumulableInfo accumulator_updates = 13;
-
hasErrorMessage
boolean hasErrorMessage()optional string error_message = 14;
- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
String getErrorMessage()optional string error_message = 14;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()optional string error_message = 14;
- Returns:
- The bytes for errorMessage.
-
hasTaskMetrics
boolean hasTaskMetrics()optional .org.apache.spark.status.protobuf.TaskMetrics task_metrics = 15;
- Returns:
- Whether the taskMetrics field is set.
-
getTaskMetrics
StoreTypes.TaskMetrics getTaskMetrics()optional .org.apache.spark.status.protobuf.TaskMetrics task_metrics = 15;
- Returns:
- The taskMetrics.
-
getTaskMetricsOrBuilder
StoreTypes.TaskMetricsOrBuilder getTaskMetricsOrBuilder()optional .org.apache.spark.status.protobuf.TaskMetrics task_metrics = 15;
-
getExecutorLogsCount
int getExecutorLogsCount()map<string, string> executor_logs = 16;
-
containsExecutorLogs
map<string, string> executor_logs = 16;
-
getExecutorLogs
Deprecated.UsegetExecutorLogsMap()
instead. -
getExecutorLogsMap
map<string, string> executor_logs = 16;
-
getExecutorLogsOrDefault
map<string, string> executor_logs = 16;
-
getExecutorLogsOrThrow
map<string, string> executor_logs = 16;
-
getSchedulerDelay
long getSchedulerDelay()int64 scheduler_delay = 17;
- Returns:
- The schedulerDelay.
-
getGettingResultTime
long getGettingResultTime()int64 getting_result_time = 18;
- Returns:
- The gettingResultTime.
-