public class LocalSparkJobMonitor extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
checkInterval |
protected static String |
CLASS_NAME |
protected static SessionState.LogHelper |
console |
protected static org.apache.commons.logging.Log |
LOG |
protected long |
monitorTimeoutInteval |
protected PerfLogger |
perfLogger |
Constructor and Description |
---|
LocalSparkJobMonitor(HiveConf hiveConf,
SparkJobStatus sparkJobStatus) |
Modifier and Type | Method and Description |
---|---|
protected void |
printStatus(Map<String,SparkStageProgress> progressMap,
Map<String,SparkStageProgress> lastProgressMap) |
int |
startMonitor() |
protected static final String CLASS_NAME
protected static final org.apache.commons.logging.Log LOG
protected static SessionState.LogHelper console
protected final PerfLogger perfLogger
protected final int checkInterval
protected final long monitorTimeoutInteval
public LocalSparkJobMonitor(HiveConf hiveConf, SparkJobStatus sparkJobStatus)
public int startMonitor()
protected void printStatus(Map<String,SparkStageProgress> progressMap, Map<String,SparkStageProgress> lastProgressMap)
Copyright © 2017 The Apache Software Foundation. All rights reserved.