hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naresh Reddy <naresh.re...@aletheconsulting.com>
Subject Error while loading bulk data from pig to hbase
Date Wed, 04 Nov 2015 05:07:48 GMT
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/alternative (inline, None, 0 bytes)
View raw message