public class JobSubmissionFiles extends Object
限定符和类型 | 字段和说明 |
---|---|
static FsPermission |
JOB_DIR_PERMISSION |
static FsPermission |
JOB_FILE_PERMISSION |
构造器和说明 |
---|
JobSubmissionFiles() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
public static final FsPermission JOB_DIR_PERMISSION
public static final FsPermission JOB_FILE_PERMISSION
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
Copyright © 2009 The Apache Software Foundation