public abstract class BaseStageClient
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description | 
|---|---|
| static String | METHOD_BATCH_IDThe method name of  getBatchId(). | 
| static String | METHOD_FLOW_IDThe method name of  getFlowId(). | 
| static String | METHOD_STAGE_IDThe method name of  getStageId(). | 
| Constructor and Description | 
|---|
| BaseStageClient() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract int | execute(String[] args)Performs stage execution. | 
| protected abstract String | getBatchId()Returns the batch ID. | 
| protected String | getDefinitionId()Returns the qualified stage ID {@literal (a.k.a. | 
| protected String | getExecutionId()Returns the execution ID of the current jobflow. | 
| protected abstract String | getFlowId()Returns the flow ID. | 
| protected String | getOperationId()Returns the job operation ID which this client will invoke. | 
| protected abstract String | getStageId()Returns the stage ID. | 
| protected String | getUser()Returns the current user name. | 
| int | run(String[] args) | 
public static final String METHOD_BATCH_ID
getBatchId().public static final String METHOD_FLOW_ID
getFlowId().public static final String METHOD_STAGE_ID
getStageId().protected String getUser()
protected String getExecutionId()
protected abstract String getBatchId()
protected abstract String getFlowId()
protected abstract String getStageId()
protected String getDefinitionId()
protected String getOperationId()
public final int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.