@InterfaceAudience.Private public class JobSubmissionFiles extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.fs.permission.FsPermission |
JOB_DIR_PERMISSION |
static org.apache.hadoop.fs.permission.FsPermission |
JOB_FILE_PERMISSION |
Constructor and Description |
---|
JobSubmissionFiles() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path |
getJobConfPath(org.apache.hadoop.fs.Path jobSubmitDir)
Get the job conf path.
|
static org.apache.hadoop.fs.Path |
getJobDistCacheArchives(org.apache.hadoop.fs.Path jobSubmitDir)
Get the job distributed cache archives path.
|
static org.apache.hadoop.fs.Path |
getJobDistCacheFiles(org.apache.hadoop.fs.Path jobSubmitDir)
Get the job distributed cache files path.
|
static org.apache.hadoop.fs.Path |
getJobDistCacheLibjars(org.apache.hadoop.fs.Path jobSubmitDir)
Get the job distributed cache libjars path.
|
static org.apache.hadoop.fs.Path |
getJobJar(org.apache.hadoop.fs.Path jobSubmitDir)
Get the job jar path.
|
static org.apache.hadoop.fs.Path |
getJobLog4jFile(org.apache.hadoop.fs.Path jobSubmitDir)
Get the job distributed cache path for log4j properties.
|
static org.apache.hadoop.fs.Path |
getJobSplitFile(org.apache.hadoop.fs.Path jobSubmissionDir) |
static org.apache.hadoop.fs.Path |
getJobSplitMetaFile(org.apache.hadoop.fs.Path jobSubmissionDir) |
static org.apache.hadoop.fs.Path |
getStagingDir(Cluster cluster,
org.apache.hadoop.conf.Configuration conf)
Initializes the staging directory and returns the path.
|
public static final org.apache.hadoop.fs.permission.FsPermission JOB_DIR_PERMISSION
public static final org.apache.hadoop.fs.permission.FsPermission JOB_FILE_PERMISSION
public static org.apache.hadoop.fs.Path getJobSplitFile(org.apache.hadoop.fs.Path jobSubmissionDir)
public static org.apache.hadoop.fs.Path getJobSplitMetaFile(org.apache.hadoop.fs.Path jobSubmissionDir)
public static org.apache.hadoop.fs.Path getJobConfPath(org.apache.hadoop.fs.Path jobSubmitDir)
public static org.apache.hadoop.fs.Path getJobJar(org.apache.hadoop.fs.Path jobSubmitDir)
public static org.apache.hadoop.fs.Path getJobDistCacheFiles(org.apache.hadoop.fs.Path jobSubmitDir)
jobSubmitDir
- public static org.apache.hadoop.fs.Path getJobLog4jFile(org.apache.hadoop.fs.Path jobSubmitDir)
jobSubmitDir
- public static org.apache.hadoop.fs.Path getJobDistCacheArchives(org.apache.hadoop.fs.Path jobSubmitDir)
jobSubmitDir
- public static org.apache.hadoop.fs.Path getJobDistCacheLibjars(org.apache.hadoop.fs.Path jobSubmitDir)
jobSubmitDir
- public static org.apache.hadoop.fs.Path getStagingDir(Cluster cluster, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException
cluster
- conf
- IOException
InterruptedException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.