Hi All,

We get the following error when launching a simple (from the examples) Falcon 
pig job. I think I don't need to manually copy the oozie jars to HDFS. 

Thanks
Venkat

--------Begin-Exception----------------

2014-06-16 14:20:17,602  WARN JavaActionExecutor:542 - USER[root] GROUP[-] 
TOKEN[] APP[FALCON_PROCESS_DEFAULT_pig-process] 
JOB[0000003-140616140425778-oozie-root-W] 
ACTION[0000003-140616140425778-oozie-root-W@failed-post-processing] Launcher 
exception: java.lang.ClassNotFoundException: Class 
org.apache.oozie.action.hadoop.JavaMain not found
java.lang.RuntimeException: java.lang.ClassNotFoundException: Class 
org.apache.oozie.action.hadoop.JavaMain not found
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1895)
at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:223)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
Caused by: java.lang.ClassNotFoundException: Class 
org.apache.oozie.action.hadoop.JavaMain not found
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1801)
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1893)
... 9 more

--------End-Exception-----------------

The process.xml from the example:

------ Begin-Process.xml -----------
<process name="pig-process" xmlns="uri:falcon:process:0.1">
    <clusters>
        <cluster name="local">
            <validity start="2013-11-15T00:05Z" end="2030-11-15T01:05Z"/>
        </cluster>
    </clusters>

    <parallel>1</parallel>
    <order>FIFO</order>
    <frequency>minutes(5)</frequency>
    <timezone>UTC</timezone>

    <inputs>
        <!-- In the pig script, the input paths will be available in a variable 
'inpaths' -->
        <input name="input" feed="in" start="now(0,-5)" end="now(0,-1)"/>
    </inputs>

    <outputs>
        <!-- In the pig script, the output path will be available in a variable 
'outpath' -->
        <output name="output" feed="out" instance="now(0,0)"/>
    </outputs>

    <workflow engine="pig" path="/app/pig/wordcount.pig"/>
</process>
------ End-Process.xml---------------

Reply via email to