org.apache.oozie.util
Class JobUtils

java.lang.Object
  extended by org.apache.oozie.util.JobUtils

public class JobUtils
extends Object

Job utilities.


Constructor Summary
JobUtils()
           
 
Method Summary
static void normalizeAppPath(String user, String group, org.apache.hadoop.conf.Configuration conf)
          Normalize appPath in job conf with the provided user/group - If it's not jobs via proxy submission, after normalization appPath always points to job's Xml definition file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobUtils

public JobUtils()
Method Detail

normalizeAppPath

public static void normalizeAppPath(String user,
                                    String group,
                                    org.apache.hadoop.conf.Configuration conf)
                             throws IOException
Normalize appPath in job conf with the provided user/group - If it's not jobs via proxy submission, after normalization appPath always points to job's Xml definition file.

Parameters:
user - user
group - group
conf - job configuration.
Throws:
IOException - thrown if normalization can not be done properly.


Copyright © 2011 Yahoo. All Rights Reserved.