Can you share your full pig script?

On 2/21/14, 12:56 AM, "[email protected]"
<[email protected]> wrote:

>Any update please. Help is highly appreciated.
>
>
>
>
>
>
>Thanks,
>Shouvanik
>
>
>-----Original Message-----
>From: Haldar, Shouvanik
>Sent: Thursday, February 20, 2014 11:28 PM
>To: '[email protected]'
>Subject: Getting weird PIG error
>
>Hi,
>
>I have uploaded a file 'passwd' into hdfs path /user/Haldar/passwd.
>But when I am executing,
>
>A = LOAD '/user/haldar/passwd2' using PigStorage(':'); I am getting
>error, and the log says
>
>Error starting action [pig]. ErrorType [FAILED], ErrorCode [It should
>never happen], Message [Permission denied: user=haldar, access=EXECUTE,
>inode="/user/hadoop":hadoop:supergroup:drwx------
>
>
>it goes by default "/user/hadoop" folder which does not have give
>permission to user haldar. Can you please help?
>
>
>
>Thanks,
>Shouvanik
>
>-----Original Message-----
>From: Purshotam Shah [mailto:[email protected]]
>Sent: Monday, February 03, 2014 9:10 AM
>To: [email protected]
>Subject: Re: Getting weird PIG error
>
>You need to add pig.jar as part of your workflow.
>
>You can also setup sharelib
>@http://blog.cloudera.com/blog/2012/12/how-to-use-the-sharelib-in-apache-o
>o
>zie/
>
>Puru.
>
>On 2/3/14, 1:38 AM, "[email protected]"
><[email protected]> wrote:
>
>>Getting weird error
>>
>>java.lang.NoClassDefFoundError: org/apache/pig/Main
>>        at
>>org.apache.oozie.action.hadoop.PigMain.runPigJob(PigMain.java:324)
>>        at org.apache.oozie.action.hadoop.PigMain.run(PigMain.java:219)
>>        at
>>org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:37)
>>        at org.apache.oozie.action.hadoop.PigMain.main(PigMain.java:76)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:
>>57)
>>        at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
>>rIm
>>pl.java:43)
>>        at java.lang.reflect.Method.invoke(Method.java:606)
>>        at
>>org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:226
>>)
>>        at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
>>        at 
>>org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:433)
>>        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:344)
>>        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:162)
>>        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:1491)
>>        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:157)
>>Caused by: java.lang.ClassNotFoundException: org.apache.pig.Main
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>        ... 17 more
>>
>>
>>Please help. Not getting any good solution on the internet!
>>
>>
>>Thanks,
>>Shouvanik
>>
>>
>>________________________________
>>
>>This message is for the designated recipient only and may contain
>>privileged, proprietary, or otherwise confidential information. If you
>>have received it in error, please notify the sender immediately and
>>delete the original. Any other use of the e-mail by you is prohibited.
>>Where allowed by local law, electronic communications with Accenture
>>and its affiliates, including e-mail and instant messaging (including
>>content), may be scanned by our systems for the purposes of information
>>security and assessment of internal compliance with Accenture policy. .
>>_______________________________________________________________________
>>___
>>____________
>>
>>www.accenture.com
>
>
>
>________________________________
>
>This message is for the designated recipient only and may contain
>privileged, proprietary, or otherwise confidential information. If you
>have received it in error, please notify the sender immediately and
>delete the original. Any other use of the e-mail by you is prohibited.
>Where allowed by local law, electronic communications with Accenture and
>its affiliates, including e-mail and instant messaging (including
>content), may be scanned by our systems for the purposes of information
>security and assessment of internal compliance with Accenture policy. .
>__________________________________________________________________________
>____________
>
>www.accenture.com
>

Reply via email to