Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Trying to run Pig 0.11


Copy link to this message
-
Re: Trying to run Pig 0.11
Hi Arun,

Most certainly you are using hadoop 0.20.2? Unfortunately pig 0.11 had an
incompatibility with commons-codec version used in hadoop 0.20.2. This has
been fixed and a new release (0.11.1) will be coming out soon that
addresses this.

You can have a look at the fix here
https://issues.apache.org/jira/browse/PIG-3194.

Thanks,
Prashant

On Thu, Mar 28, 2013 at 11:35 AM, Arun Ahuja <[EMAIL PROTECTED]> wrote:

> Downloaded pig from
> http://download.nextag.com/apache/pig/pig-0.11.0/pig-0.11.0.tar.gz
>
> Running pig-0.11.0/bin/pig I see
>
> ERROR 2998: Unhandled internal error.
>
> org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString([B)Ljava/lang/String;
>
> java.lang.NoSuchMethodError:
>
> org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString([B)Ljava/lang/String;
>         at
>
> org.apache.pig.impl.util.ObjectSerializer.encodeBytes(ObjectSerializer.java:65)
>         at
>
> org.apache.pig.impl.util.ObjectSerializer.serialize(ObjectSerializer.java:46)
>         at org.apache.pig.Main.run(Main.java:398)
>         at org.apache.pig.Main.main(Main.java:157)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
>
> Any info available on this?  Java version issues perhaps, any other
> dependencies?
>