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

Switch to Threaded View
HDFS, mail # user - Re: Getting HBaseStorage() to work in Pig


Copy link to this message
-
Re: Getting HBaseStorage() to work in Pig
Ted Yu 2013-08-23, 20:49
Please look at the example in 15.1.1 under
http://hbase.apache.org/book.html#tools
On Fri, Aug 23, 2013 at 1:41 PM, Botelho, Andrew <[EMAIL PROTECTED]>wrote:

> I am trying to use the function HBaseStorage() in my Pig code in order to
> load an HBase table into Pig.****
>
>  ****
>
> When I run my code, I get this error:****
>
>  ****
>
> ERROR 2998: Unhandled internal error.
> org/apache/hadoop/hbase/filter/WritableByteArrayComparable****
>
>  ****
>
>  ****
>
> I believe the PIG_CLASSPATH needs to be extended to include the classpath
> for loading HBase, but I am not sure how to do this.  I've tried several
> export commands in the unix shell to change the PIG_CLASSPATH, but nothing
> seems to be working.****
>
>  ****
>
> Any advice would be much appreciated.****
>
>  ****
>
> Thanks,****
>
>  ****
>
> Andrew Botelho****
>
> ** **
>