|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.JobSubmissionFiles
public class JobSubmissionFiles
A utility to manage job submission files.
Note that this class is for framework internal usage only and is
not to be used by users directly.
Field Summary | |
---|---|
static FsPermission |
JOB_DIR_PERMISSION
|
static FsPermission |
JOB_FILE_PERMISSION
|
Constructor Summary | |
---|---|
JobSubmissionFiles()
|
Method Summary | |
---|---|
static Path |
getJobConfPath(Path jobSubmitDir)
Get the job conf path. |
static Path |
getJobDistCacheArchives(Path jobSubmitDir)
Get the job distributed cache archives path. |
static Path |
getJobDistCacheFiles(Path jobSubmitDir)
Get the job distributed cache files path. |
static Path |
getJobDistCacheLibjars(Path jobSubmitDir)
Get the job distributed cache libjars path. |
static Path |
getJobJar(Path jobSubmitDir)
Get the job jar path. |
static Path |
getJobSplitFile(Path jobSubmissionDir)
|
static Path |
getJobSplitMetaFile(Path jobSubmissionDir)
|
static Path |
getStagingDir(JobClient client,
Configuration conf)
Initializes the staging directory and returns the path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FsPermission JOB_DIR_PERMISSION
public static final FsPermission JOB_FILE_PERMISSION
Constructor Detail |
---|
public JobSubmissionFiles()
Method Detail |
---|
public static Path getJobSplitFile(Path jobSubmissionDir)
public static Path getJobSplitMetaFile(Path jobSubmissionDir)
public static Path getJobConfPath(Path jobSubmitDir)
public static Path getJobJar(Path jobSubmitDir)
public static Path getJobDistCacheFiles(Path jobSubmitDir)
jobSubmitDir
- public static Path getJobDistCacheArchives(Path jobSubmitDir)
jobSubmitDir
- public static Path getJobDistCacheLibjars(Path jobSubmitDir)
jobSubmitDir
- public static Path getStagingDir(JobClient client, Configuration conf) throws IOException, InterruptedException
client
- conf
-
IOException
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |