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() |
String |
getAppID() |
SparkCounters |
getCounter() |
Throwable |
getError() |
int |
getJobId() |
JobHandle.State |
getRemoteJobState() |
Map<String,SparkStageProgress> |
getSparkStageProgress() |
SparkStatistics |
getSparkStatistics() |
int[] |
getStageIds() |
org.apache.spark.JobExecutionStatus |
getState() |
String |
getWebUIURL() |
boolean |
isRemoteActive()
Indicates whether the remote context is active.
|
void |
setError(Throwable e) |
public RemoteSparkJobStatus(SparkClient sparkClient, JobHandle<Serializable> jobHandle, long timeoutInSeconds)
public String getAppID()
getAppID in interface SparkJobStatuspublic 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 String getWebUIURL()
getWebUIURL in interface SparkJobStatuspublic void cleanup()
cleanup in interface SparkJobStatuspublic Throwable getError()
getError in interface SparkJobStatuspublic void setError(Throwable e)
setError in interface SparkJobStatuspublic boolean isRemoteActive()
public JobHandle.State getRemoteJobState()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.