|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.mapreduce.hadoop.InputSplitInfoDisk
public class InputSplitInfoDisk
Information obtained by using the InputFormat class to generate the required InputSplit information files that in turn can be used to setup a DAG. The splitsFile and splitsMetaInfoFile need to be provided as LocalResources to the vertex in question. The numTasks represents the parallelism for the vertex and the taskLocationHints define the possible nodes on which the tasks should be run based on the location of the splits that will be processed by each task. The getSplitsProto method is not supported by this implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.tez.mapreduce.hadoop.InputSplitInfo |
|---|
InputSplitInfo.Type |
| Constructor Summary | |
|---|---|
InputSplitInfoDisk(org.apache.hadoop.fs.Path splitsFile,
org.apache.hadoop.fs.Path splitsMetaInfoFile,
int numTasks,
List<org.apache.tez.dag.api.VertexLocationHint.TaskLocationHint> taskLocationHints,
org.apache.hadoop.security.Credentials credentials)
|
|
| Method Summary | |
|---|---|
org.apache.hadoop.security.Credentials |
getCredentials()
Get Credentials which may be required to access the splits. |
int |
getNumTasks()
Get the number of splits that were generated. |
org.apache.hadoop.fs.Path |
getSplitsFile()
Get the path to the splits file |
org.apache.hadoop.fs.Path |
getSplitsMetaInfoFile()
Get the path to the splits meta info file |
MRRuntimeProtos.MRSplitsProto |
getSplitsProto()
Get the splits proto |
List<org.apache.tez.dag.api.VertexLocationHint.TaskLocationHint> |
getTaskLocationHints()
Get the TaskLocationHints for each task |
InputSplitInfo.Type |
getType()
Get the InputSplitInfo.Type of the InputSplitInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputSplitInfoDisk(org.apache.hadoop.fs.Path splitsFile,
org.apache.hadoop.fs.Path splitsMetaInfoFile,
int numTasks,
List<org.apache.tez.dag.api.VertexLocationHint.TaskLocationHint> taskLocationHints,
org.apache.hadoop.security.Credentials credentials)
| Method Detail |
|---|
public List<org.apache.tez.dag.api.VertexLocationHint.TaskLocationHint> getTaskLocationHints()
InputSplitInfo
getTaskLocationHints in interface InputSplitInfopublic org.apache.hadoop.fs.Path getSplitsMetaInfoFile()
InputSplitInfo
getSplitsMetaInfoFile in interface InputSplitInfopublic org.apache.hadoop.fs.Path getSplitsFile()
InputSplitInfo
getSplitsFile in interface InputSplitInfopublic int getNumTasks()
InputSplitInfo
getNumTasks in interface InputSplitInfopublic InputSplitInfo.Type getType()
InputSplitInfoInputSplitInfo.Type of the InputSplitInfo
getType in interface InputSplitInfopublic MRRuntimeProtos.MRSplitsProto getSplitsProto()
InputSplitInfo
getSplitsProto in interface InputSplitInfopublic org.apache.hadoop.security.Credentials getCredentials()
InputSplitInfoCredentials which may be required to access the splits.
getCredentials in interface InputSplitInfoCredentials which may be required to access the splits.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||