List of usage examples for org.apache.hadoop.mapreduce.v2.util MRApps getStagingAreaDir
public static Path getStagingAreaDir(Configuration conf, String user)
From source file:org.apache.tez.mapreduce.client.ResourceMgrDelegate.java
License:Apache License
public String getStagingAreaDir() throws IOException, InterruptedException { // Path path = new Path(MRJobConstants.JOB_SUBMIT_DIR); String user = UserGroupInformation.getCurrentUser().getShortUserName(); Path path = MRApps.getStagingAreaDir(conf, user); LOG.debug("getStagingAreaDir: dir=" + path); return path.toString(); }