@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class JobUtil extends Object
| 限定符 | 构造器和说明 |
|---|---|
protected |
JobUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.fs.Path |
getQualifiedStagingDir(org.apache.hadoop.conf.Configuration conf)
Initializes the staging directory and returns the qualified path.
|
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 interruptedpublic static org.apache.hadoop.fs.Path getQualifiedStagingDir(org.apache.hadoop.conf.Configuration conf)
throws IOException,
InterruptedException
conf - conf system configurationIOException - if the ownership on the staging directory is not as expectedInterruptedException - if the thread getting the staging directory is interruptedCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.