Grokbase Groups Pig user July 2010
Well this thread kind of got me thinking that it might be possible to do it.

Thanks for the info.

On Mon, Jul 26, 2010 at 4:34 PM, Alan Gates wrote:

At this point HBaseStorage is only a load function and not a store
function. If you're interested in taking it on, we'd love to have someone
extend it to be a store function as well.


On Jul 22, 2010, at 2:05 PM, preethi vinayak sunny wrote:

Hi All,
This is my first mail in the apache mailing list... please bear with me as
am absolutely new to Hadoop and its family.

This is my question... I have some data on my hdfs in the following form.

(number:int,word:chararray, word2:chararray,somethingelse:int)

I want to get this data into a neatly formed HBase Table. I chose the
simpler way instead of writing my own udf. I wanted to do this....

register ../hbase/hbase-0.20.4.jar;
register ../hbase/hbase-0.20.4-test.jar;
A = Load '/some_data';
B = STORE A into 'hbase://something' USING
dump B;

but this is the error I get when I do that

2010-07-22 16:38:35,041 [main] INFO
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine -
to hadoop file system at: hdfs://MyMachine01:9000
2010-07-22 16:38:35,550 [main] INFO
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine -
to map-reduce job tracker at: MyMachine01:9001
2010-07-22 16:38:35,868 [main] ERROR -
ERROR 2998: Unhandled internal error.

I have checked my hbase-0.20.4.jar file and it does have a
class. I added the right path to in the CLASSPATH field. I
added the conf folder to the classpath and also the test jar.

I don't know why it wouldn't work. My HBase installation went really
I am able to check the status of the HBase in the hbase shell and still I
get this error. I am totally lost at this point. I would really appreciate
any help in this regard.

Thanks a bunch.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupuser @
categoriespig, hadoop
postedJul 22, '10 at 9:05p
activeJul 26, '10 at 8:47p



site design / logo © 2021 Grokbase