@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class JobUtil extends Object
Modifier | Constructor and Description |
---|---|
protected |
JobUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path |
getStagingDir(org.apache.hadoop.conf.Configuration conf)
Initializes the staging directory and returns the path.
|
public static org.apache.hadoop.fs.Path getStagingDir(org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException
conf
- system configurationIOException
- if the ownership on the staging directory is not as expectedInterruptedException
- if the thread getting the staging directory is interruptedCopyright © 2007–2019 Cloudera. All rights reserved.