org.apache.hadoop.hbase.mapreduce
Class JobUtil

java.lang.Object
  extended by org.apache.hadoop.hbase.mapreduce.JobUtil

@InterfaceAudience.Private
@InterfaceStability.Evolving
public abstract class JobUtil
extends Object

Utility methods to interact with a job.


Constructor Summary
protected JobUtil()
           
 
Method Summary
static org.apache.hadoop.fs.Path getStagingDir(org.apache.hadoop.conf.Configuration conf)
          Initializes the staging directory and returns the path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobUtil

protected JobUtil()
Method Detail

getStagingDir

public static org.apache.hadoop.fs.Path getStagingDir(org.apache.hadoop.conf.Configuration conf)
                                               throws IOException,
                                                      InterruptedException
Initializes the staging directory and returns the path.

Parameters:
conf - system configuration
Returns:
staging directory path
Throws:
IOException
InterruptedException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.