You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Rajeshkumar J <ra...@gmail.com> on 2016/02/09 09:55:24 UTC
Issue while trying to store hbase data using pig
Hi,
I am trying to store output from the pig relation into hbase using the
following code
store hbasedata into 'hbase://evallist' USING
org.apache.pig.backend.hadoop.hbase.HBaseStorage('fa:ID,fa:date,fa:email,fa:customername');
But it throws
Caused by: java.lang.IllegalArgumentException: Must specify table name
can any one help me in this?
Re: Issue while trying to store hbase data using pig
Posted by Ted Yu <yu...@gmail.com>.
Below was example from another thread involving HBaseStorage :
test = LOAD '$TEST'
USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('cf_data:name
cf_data:age', '-loadKey true -maxTimestamp $test_date')
as (age);
Can you adjust your statement so that the table name is correctly specified
?
Thanks
On Tue, Feb 9, 2016 at 12:55 AM, Rajeshkumar J <ra...@gmail.com>
wrote:
> Hi,
>
> I am trying to store output from the pig relation into hbase using the
> following code
>
> store hbasedata into 'hbase://evallist' USING
>
> org.apache.pig.backend.hadoop.hbase.HBaseStorage('fa:ID,fa:date,fa:email,fa:customername');
>
> But it throws
>
> Caused by: java.lang.IllegalArgumentException: Must specify table name
>
> can any one help me in this?
>