Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBDC81884B for ; Wed, 4 Nov 2015 06:16:27 +0000 (UTC) Received: (qmail 563 invoked by uid 500); 4 Nov 2015 06:16:26 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 495 invoked by uid 500); 4 Nov 2015 06:16:26 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 479 invoked by uid 99); 4 Nov 2015 06:16:25 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 06:16:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7E7F31A2996 for ; Wed, 4 Nov 2015 06:16:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.953 X-Spam-Level: *** X-Spam-Status: No, score=3.953 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=aletheconsulting_com.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id FPhvJu_srohr for ; Wed, 4 Nov 2015 06:16:19 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8D3602315C for ; Wed, 4 Nov 2015 06:16:18 +0000 (UTC) Received: by wmeg8 with SMTP id g8so102070165wme.0 for ; Tue, 03 Nov 2015 22:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aletheconsulting_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=99bow/WSF6FUOVTtZO//3ZMcPkjA8YLMwZAR9qQzuFA=; b=ea0jpz+GYvR1POexs/LOQV2l3kFqKINNFvxPWSwkQnKejswcCmIdWAj8+pk0XSb2L+ KavM48M1V1X6CI2RuQizQPgAijQaTxnflDMOLMJxLNHY5LiPlBERXa8LO1fX2xQ3/JS6 Dwm9XiM8nuooqGDiubgKiReAEAZcxMiCiXYHlhpSSwIge4eyW4dDDS7DABvyysbr6KMg LK5mbuRsUlNQH1P5TXn0E1IzRMyb/TlOxBDk2+isza51UiXY4SsHUvJESsVy7hMkIbRI YypJ3SJ0Cg3viFKT1krT8y+DPJymb/7eluSbAfrfKiV8kGg0+iwdjZpX/5GzW8Eh/B/I 6Ndg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=99bow/WSF6FUOVTtZO//3ZMcPkjA8YLMwZAR9qQzuFA=; b=gCfnrEIvDSkYSNPVmIisauww0+4f6K2qWiyW821yDm8CqYDT0K9oii/gjqLUiLE/nC a14G/pxhiMIcepJtHsvQxJzcWbQqW6s8mcRkBrsXMR2RVD/PcNX13YVZW8Xrg5XRccCM 1IhjyDk3JsZdq0EYoU7bP55J2J3eXWZOYWd2sE8b0wa2mRf3l5Gti6R+69BPXbcEJ5qR tniJ2lth+lT9sBd+pXOnA13s1NZNuIA9JfiUYAvsXGyKmcBDGMJeI2NqZ+zxyhqnZICH e2Oncl7dH8wjkScCe2bteSMJq3BesjNPiut9M4H3zB4Ij+RHttptdVrOeJaYdPk5Q+U4 Prdg== X-Gm-Message-State: ALoCoQn3oBOntvtQErOuMsZ/BSDV5DBu0Iwd7/GNq/KsOtyLMgJruRn56/C8De+8RnxTR8ekeH1H MIME-Version: 1.0 X-Received: by 10.28.13.78 with SMTP id 75mr25107411wmn.24.1446617778296; Tue, 03 Nov 2015 22:16:18 -0800 (PST) Received: by 10.28.165.12 with HTTP; Tue, 3 Nov 2015 22:16:18 -0800 (PST) X-Originating-IP: [103.245.119.26] In-Reply-To: <43F0DFA8-6E0B-40FD-91AF-C9E1A4D723FE@gmail.com> References: <43F0DFA8-6E0B-40FD-91AF-C9E1A4D723FE@gmail.com> Date: Wed, 4 Nov 2015 11:46:18 +0530 Message-ID: Subject: Re: Error while loading bulk data from pig to hbase From: Naresh Reddy To: user@hbase.apache.org Content-Type: multipart/mixed; boundary=001a11443742cd4ce00523b0f2fc --001a11443742cd4ce00523b0f2fc Content-Type: multipart/alternative; boundary=001a11443742cd4cda0523b0f2fa --001a11443742cd4cda0523b0f2fa Content-Type: text/plain; charset=UTF-8 Hi Thanks for the reply.PFA for the full error. Regard Naresh On Wed, Nov 4, 2015 at 11:29 AM, Ted Yu 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 > --001a11443742cd4cda0523b0f2fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi
Thanks for the reply.PFA for th= e 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 ad= vance.
>
>
> *ERROR:pig script failed to validate: java.lang.RuntimeExceptio= n: 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= 9;;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_dat= a =3D 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:fna= me info:lname');*
>
>
> Regards
> Naresh

--001a11443742cd4cda0523b0f2fa-- --001a11443742cd4ce00523b0f2fc--