|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.sqoop.util.TaskId
public final class TaskId
Utility class; returns task attempt Id of the current job regardless of Hadoop version being used.
Method Summary | |
---|---|
static java.lang.String |
get(org.apache.hadoop.conf.Configuration conf,
java.lang.String defaultVal)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String get(org.apache.hadoop.conf.Configuration conf, java.lang.String defaultVal)
conf
- the Configuration to check for the current task attempt id.defaultVal
- the value to return if a task attempt id is not set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |