You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Hrishi Ganu <hr...@gmail.com> on 2014/10/16 17:13:52 UTC

Registering DataFu jar on AWS EMR

I have tried the following approaches:
1. Copying the .jar to s3 with "register s3://<path to jar>"
2. Copying the .jar to local ( non-hdfs) and registering from that path
Both these approaches don't seem to work. When I try using the Median and
other stats functions I get

 ERROR 1070: Could not resolve ...using imports:  [, org.apache.pig.builtin,
org.apache.pig.impl.builtin.]
Hrishi

Re: Registering DataFu jar on AWS EMR

Posted by Serega Sheypak <se...@gmail.com>.
are you sure that user running pig script has access to  s3://<path to jar>
or the .jar to local ( non-hdfs)

2014-10-16 19:13 GMT+04:00 Hrishi Ganu <hr...@gmail.com>:

> I have tried the following approaches:
> 1. Copying the .jar to s3 with "register s3://<path to jar>"
> 2. Copying the .jar to local ( non-hdfs) and registering from that path
> Both these approaches don't seem to work. When I try using the Median and
> other stats functions I get
>
>  ERROR 1070: Could not resolve ...using imports:  [,
> org.apache.pig.builtin,
> org.apache.pig.impl.builtin.]
> Hrishi
>