@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. | 
| static org.apache.hadoop.fs.Path | getStagingDir(Cluster cluster,
             org.apache.hadoop.conf.Configuration conf,
             org.apache.hadoop.security.UserGroupInformation realUser)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 - IOExceptionInterruptedExceptionpublic static org.apache.hadoop.fs.Path getStagingDir(Cluster cluster, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.security.UserGroupInformation realUser) throws IOException, InterruptedException
cluster - Information about the map/reduce clusterconf - Configuration objectrealUser - UserGroupInformation of login userIOException - when ownership of staging area directory does
                              not match the login user or current user.InterruptedException - when getting the staging area directory pathCopyright © 2022 Apache Software Foundation. All rights reserved.