List of usage examples for org.apache.hadoop.mapreduce MRJobConfig DEFAULT_MR_AM_STAGING_DIR
String DEFAULT_MR_AM_STAGING_DIR
To view the source code for org.apache.hadoop.mapreduce MRJobConfig DEFAULT_MR_AM_STAGING_DIR.
Click Source Link
From source file:org.apache.ignite.internal.processors.hadoop.GridHadoopUtils.java
License:Apache License
/** * Gets staging area directory./*from w w w . ja va2 s. c o m*/ * * @param conf Configuration. * @param usr User. * @return Staging area directory. */ public static Path stagingAreaDir(Configuration conf, String usr) { return new Path(conf.get(MRJobConfig.MR_AM_STAGING_DIR, MRJobConfig.DEFAULT_MR_AM_STAGING_DIR) + Path.SEPARATOR + usr + Path.SEPARATOR + STAGING_CONSTANT); }