| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
JobUtil() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
private static final org.slf4j.Logger LOG
protected JobUtil()
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–2020 The Apache Software Foundation. All rights reserved.