Which version of Pig are you using? If 0.6, have you tried the elephant bird HBase loader? Is there a more detailed stack trace in the pig log?
-Dmitriy On Wed, Jul 21, 2010 at 4:10 AM, Dmitry Demeshchuk <[email protected]>wrote: > Greetings. > > I'm trying to query HBase using Pig but do something wrong and cannot > figure out what exactly. > > 1. First, I create a table in HBase: > > hbase(main):001:0> create 'test_table', 'test_family' > > and add values to it: > > hbase(main):002:0> put 'test_table', '1', 'test_family:body', 'body1' > hbase(main):003:0> put 'test_table', '1', 'test_family:value', 'value1' > hbase(main):009:0> scan 'test_table' > > ROW COLUMN+CELL > 1 column=test_family:body, > timestamp=1279710032517, value=body1 > 1 column=test_family:value, > timestamp=1279710094584, value=value1 > > So, now I have something in base. > > > 2. After that, I try to get data from HBase using Pig: > > grunt> A = load 'test_table' using > org.apache.pig.backend.hadoop.hbase.HBaseStorage('test_family:body > test_family:value'); > grunt> DUMP A; > > Then I get an error message: > > 2010-07-21 06:01:58,387 [main] ERROR org.apache.pig.tools.grunt.Grunt > - ERROR 2118: Unable to create input splits for: test_table > > > > Could you please help me to find where I keep screwing up? > > Thank you. > > -- > Best regards, > Dmitry Demeshchuk >
