public class HadoopFlowStepJob extends cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.mapred.JobClient |
jobClient
Field jobClient
|
protected org.apache.hadoop.mapred.RunningJob |
runningJob
Field runningJob
|
| Constructor and Description |
|---|
HadoopFlowStepJob(cascading.management.state.ClientState clientState,
cascading.flow.planner.BaseFlowStep<org.apache.hadoop.mapred.JobConf> flowStep,
org.apache.hadoop.mapred.JobConf currentConf) |
| Modifier and Type | Method and Description |
|---|---|
protected cascading.stats.FlowStepStats |
createStepStats(cascading.management.state.ClientState clientState) |
protected void |
dumpDebugInfo() |
static long |
getJobPollingInterval(org.apache.hadoop.mapred.JobConf jobConf) |
protected java.lang.Throwable |
getThrowable() |
protected void |
internalBlockOnStop() |
protected boolean |
internalIsStartedRunning() |
protected java.lang.String |
internalJobId() |
protected boolean |
internalNonBlockingIsComplete() |
protected boolean |
internalNonBlockingIsSuccessful() |
protected void |
internalNonBlockingStart() |
protected org.apache.hadoop.mapred.RunningJob |
internalNonBlockingSubmit() |
protected boolean |
isRemoteExecution() |
boolean |
isSuccessful() |
static void |
reportLocalError(java.lang.Throwable throwable)
Internal method to report errors that happen on hadoop local mode.
|
protected void |
updateNodeStatus(cascading.stats.FlowNodeStats flowNodeStats) |
protected org.apache.hadoop.mapred.JobClient jobClient
protected org.apache.hadoop.mapred.RunningJob runningJob
public HadoopFlowStepJob(cascading.management.state.ClientState clientState, cascading.flow.planner.BaseFlowStep<org.apache.hadoop.mapred.JobConf> flowStep, org.apache.hadoop.mapred.JobConf currentConf)
public static long getJobPollingInterval(org.apache.hadoop.mapred.JobConf jobConf)
protected cascading.stats.FlowStepStats createStepStats(cascading.management.state.ClientState clientState)
createStepStats in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>protected void internalBlockOnStop() throws java.io.IOException
internalBlockOnStop in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>java.io.IOExceptionprotected void internalNonBlockingStart() throws java.io.IOException
internalNonBlockingStart in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>java.io.IOExceptionprotected org.apache.hadoop.mapred.RunningJob internalNonBlockingSubmit() throws java.io.IOException
java.io.IOExceptionprotected void updateNodeStatus(cascading.stats.FlowNodeStats flowNodeStats)
updateNodeStatus in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>public boolean isSuccessful()
isSuccessful in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>protected boolean internalNonBlockingIsSuccessful() throws java.io.IOException
internalNonBlockingIsSuccessful in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>java.io.IOExceptionprotected boolean isRemoteExecution()
isRemoteExecution in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>protected java.lang.Throwable getThrowable()
getThrowable in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>protected java.lang.String internalJobId()
internalJobId in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>protected boolean internalNonBlockingIsComplete() throws java.io.IOException
internalNonBlockingIsComplete in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>java.io.IOExceptionprotected void dumpDebugInfo()
dumpDebugInfo in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>protected boolean internalIsStartedRunning()
internalIsStartedRunning in class cascading.flow.planner.FlowStepJob<org.apache.hadoop.mapred.JobConf>public static void reportLocalError(java.lang.Throwable throwable)
throwable - the throwable to be reported.Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.