Hello,

You have to either downgrade to that version of HBase or recompile Pig from
source against HBase 1.2.6

Regards.


On 8 June 2017 at 23:39, Artem Ervits <artemerv...@gmail.com> wrote:

> HBase 1.2.6 was just released recently, whether it is compatible or not,
> tough to say without testing. What is your HBase create table statement? Is
> your column family name 'name'? This works in HBase 1.1.2, didn't test with
> 1.2.x line yet.
>
> A = LOAD 'hbase://table_name' USING org.apache.pig.backend.hadoop.hbase.
> HBaseStorage('cf:*', '-loadKey true') as (rowkey:bytearray);
>
> On Thu, Jun 8, 2017 at 5:17 AM, farhad F <arman.farha...@gmail.com> wrote:
>
> > Hello all,
> >
> > I'm new to HBase, I have a problem with Pig script failed to store data
> to
> > Hbase using org.apache.pig.backend.hadoop.hbase.HBaseStorage
> >
> > *this is my error*:
> >
> >  java.lang.RuntimeException: could not instantiate
> > 'org.apache.pig.backend.hadoop.hbase.HBaseStorage' with arguments
> > '['name:name', -loadKey true]'
> >
> > any have idea??
> >
> > plz help me, thanks a lot
> >
>



-- 
Thanks and Regards,

Siddhartha Mitra

Reply via email to