hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Error while loading bulk data from pig to hbase
Date Wed, 04 Nov 2015 05:59:34 GMT
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
View raw message