falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shwetha GS <shwetha...@inmobi.com>
Subject Re: Exception while launching Falcon pig sample job
Date Tue, 17 Jun 2014 04:52:52 GMT
Hi Venkat,

Looks like oozie sharelib is not set-up correctly. JavaMain is part
of <oozie share lib>/oozie/oozie-sharelib-oozie-<version>.jar. Oozie
package is bundled with sharelib which contains this jar. Refer to oozie
doc for setting-up sharelib

Regards,
Shwetha


On Tue, Jun 17, 2014 at 3:46 AM, Venkat R <veramacha@yahoo.com.invalid>
wrote:

> 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---------------

-- 
_____________________________________________________________
The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 
receipt.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message