public class RemoteSparkJobStatus extends Object implements SparkJobStatus
| Constructor and Description |
|---|
RemoteSparkJobStatus(SparkClient sparkClient,
JobHandle<Serializable> jobHandle,
long timeoutInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
SparkCounters |
getCounter() |
int |
getJobId() |
JobHandle.State |
getRemoteJobState() |
Map<String,SparkStageProgress> |
getSparkStageProgress() |
SparkStatistics |
getSparkStatistics() |
int[] |
getStageIds() |
org.apache.spark.JobExecutionStatus |
getState() |
public RemoteSparkJobStatus(SparkClient sparkClient, JobHandle<Serializable> jobHandle, long timeoutInSeconds)
public int getJobId()
getJobId in interface SparkJobStatuspublic org.apache.spark.JobExecutionStatus getState()
throws HiveException
getState in interface SparkJobStatusHiveExceptionpublic int[] getStageIds()
throws HiveException
getStageIds in interface SparkJobStatusHiveExceptionpublic Map<String,SparkStageProgress> getSparkStageProgress() throws HiveException
getSparkStageProgress in interface SparkJobStatusHiveExceptionpublic SparkCounters getCounter()
getCounter in interface SparkJobStatuspublic SparkStatistics getSparkStatistics()
getSparkStatistics in interface SparkJobStatuspublic void cleanup()
cleanup in interface SparkJobStatuspublic JobHandle.State getRemoteJobState()
Copyright © 2017 The Apache Software Foundation. All rights reserved.