hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naresh Reddy <naresh.re...@aletheconsulting.com>
Subject Re: Error while loading bulk data from pig to hbase
Date Wed, 04 Nov 2015 06:16:18 GMT
Hi
Thanks for the reply.PFA for the full error.

Regard
Naresh

On Wed, Nov 4, 2015 at 11:29 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> Naresh:
> Can you pastebin the full error ?
> It should be in pig_XXXX.log
>
> Cheers
>
> > On Nov 3, 2015, at 9:07 PM, Naresh Reddy <
> naresh.reddy@aletheconsulting.com> wrote:
> >
> > Hi
> >
> > I am getting the below error while loading bulk data from pig to hbase
> > through HBaseStorage.Please help me to resolve this issue.Thanks in
> advance.
> >
> >
> > *ERROR:pig script failed to validate: java.lang.RuntimeException: could
> not
> > instantiate 'org.apache.pig.backend.hadoop.hbase.HBaseStorage' with
> > arguments.*
> >
> > Below is my pig script.
> >
> >
> >
> >
> >
> >
> >
> > *register '/home/hduser/hbase-1.1.2/lib/zookeeper-3.4.6.jar';register
> > '/home/hduser/hbase-1.1.2/lib/guava-12.0.1.jar';register
> > '/home/hduser/hbase-1.1.2/lib/hbase-common-1.1.2.jar';register
> > '/home/hduser/hbase-1.1.2/lib/hbase-client-1.1.2.jar';register
> > '/home/hduser/hbase-1.1.2/lib/protobuf-java-2.5.0.jar';raw_data = LOAD
> > '/user/hduser/input.csv' USING PigStorage(',') AS (id:chararray,
> > fname:chararray, lname:chararray);STORE raw_data INTO
> > 'hbase://sample_names' USING
> > org.apache.pig.backend.hadoop.hbase.HBaseStorage ('info:fname
> info:lname');*
> >
> >
> > Regards
> > Naresh
>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message