Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-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 CCB4B18F4A for ; Mon, 7 Mar 2016 21:37:58 +0000 (UTC) Received: (qmail 1806 invoked by uid 500); 7 Mar 2016 21:37:58 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 1742 invoked by uid 500); 7 Mar 2016 21:37:58 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 1730 invoked by uid 99); 7 Mar 2016 21:37:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 21:37:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 248B61806BD for ; Mon, 7 Mar 2016 21:37:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.569 X-Spam-Level: * X-Spam-Status: No, score=1.569 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.329, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5B0h2c2mPaUv for ; Mon, 7 Mar 2016 21:37:56 +0000 (UTC) Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [69.252.207.34]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 373CF5F56B for ; Mon, 7 Mar 2016 21:37:55 +0000 (UTC) Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-02v.sys.comcast.net with comcast id T9dB1s00527uzMh019doPT; Mon, 07 Mar 2016 21:37:48 +0000 Received: from resmail-ch2-477v.sys.comcast.net ([162.150.50.1]) by resomta-ch2-02v.sys.comcast.net with comcast id T9do1s00B01Z1GJ019doly; Mon, 07 Mar 2016 21:37:48 +0000 Date: Mon, 7 Mar 2016 21:37:48 +0000 (UTC) From: dlmarion@comcast.net To: user@accumulo.apache.org, Sravankumar Reddy Javaji Message-ID: <1324996019.9923338.1457386668221.JavaMail.zimbra@comcast.net> In-Reply-To: <56DDF34501FC06A600390654_0_8390@p057> References: <56DDF34501FC06A600390654_0_8390@p057> Subject: Re: Class path for shell commands MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9923337_146251341.1457386668220" X-Originating-IP: [::ffff:144.51.241.32] X-Mailer: Zimbra 8.0.7_GA_6031 (ZimbraWebClient - FF38 (Linux)/8.0.7_GA_6031) Thread-Topic: Class path for shell commands Thread-Index: vp1aNM249t5fSf0ThCBx2hRpUn2+Ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1457386668; bh=J8GCIoZx+qIE5C+HrkH+g4V9K5ad+TW3t6apyiPS3N8=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=sCKG3gWC/JVB5gbkZEF6yN/w3cpF/+SFkiQt0H5L9nvk7hFluMnOTF0jAmpQsHDm5 A0K0nc0ym9+ddKAdEmmIB1iz2oOA7PNl6Soccry8pXPOW+s8PibCKAPwRkMuUFgdlH P9p9xG2eB/Ec2a1qWV8imXXKOmf6i0GoAMuazfeyehyjZEUiQLWS5JsbIgu6UuRyXS XqCEr4uJEuAfk8cpy2B7sMZ12akZ3ETVSjqZlcM3wWqtnpbmWyyHFY9ZE4bzM8+5g3 qJdQuX8jxGTqGCefzxrmZmUbROmO5RAqqDmILYpiyPZDZmbUZN/YCtugZiRBwEu4SP bQQVisqvfM5MQ== ------=_Part_9923337_146251341.1457386668220 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Another option is to drop your jar into $ACCUMULO_HOME/lib/ext on the node where you will be running the shell. ----- Original Message ----- From: "Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX)" To: user@accumulo.apache.org Sent: Monday, March 7, 2016 4:31:49 PM Subject: Re: Class path for shell commands Yes I am using 1.6.2 version. I am not sure if we can upgrade the version now. Could you please let me know if there is any other way (temporary way) to fix that bug? Also how to ensure that this error is coming because of that bug? From: user@accumulo.apache.org At: Mar 7 2016 16:28:15 To: Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX) , user@accumulo.apache.org Subject: Re: Class path for shell commands Are you using a 1.6.x or earlier version? I think we fixed a bug in 1.7.0 where the user-specified CLASSPATH was overridden. On Mon, Mar 7, 2016 at 4:23 PM Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX) < sjavaji@bloomberg.net > wrote:
Sorry that's typo. I used CLASSPATH, still not working. From: user@accumulo.apache.org At: Mar 7 2016 16:23:04 To: Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX) , user@accumulo.apache.org Subject: Re: Class path for shell commands
Try $CLASSPATH instead of $CLASS_PATH On Mon, Mar 7, 2016 at 4:11 PM Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX) < sjavaji@bloomberg.net > wrote:
Hello Everyone, I built custom formatter by extending DefaultFormatter class. When I am trying to use DefaultFormatter, I am getting "Class not found" exception. Below are the steps I followed: >From local machine: $ export CLASS_PATH=$CLASS_PATH:/*.jar $ CONNECTED to accumulo shell server $ formatter -f fully_qualified_classname -t table_name $ scan -t table ERROR: Class not found Could someone please let me know any other way to set class path for shell? Also is there anyway to debug this issue like checking current classpaths that shell is using? Thanks for your time. - Regards, Sravan
------=_Part_9923337_146251341.1457386668220 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Another option is to drop your jar into $ACCUMULO_HOME/lib/ext on = the node where you will be running the shell.

=

From: "Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX)= " <sjavaji@bloomberg.net>
To: user@accumulo.apache.org
<= b>Sent: Monday, March 7, 2016 4:31:49 PM
Subject: Re: Class p= ath for shell commands

Yes I am using 1.6.2 version. I am not su= re if we can upgrade the version now. Could you please let me know if there= is any other way (temporary way) to fix that bug? Also how to ensure that = this error is coming because of that bug?

From: user@accumulo.apache.org At: Mar 7 201= 6 16:28:15
To: Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX), user@accumulo.apache.org=
Subject: Re: Class path for shell commands
=
Are you usin= g a 1.6.x or earlier version? I think we fixed a bug in 1.7.0 where the use= r-specified CLASSPATH was overridden.


On Mon, Mar 7, 2016 at 4:23 PM Sravankum= ar Reddy Javaji (BLOOMBERG/ 731 LEX) <sjavaji@bloomberg.net> wrote:
Sorry that's ty= po. I used CLASSPATH, still not working.

From: user@accumulo.apache.org At: Mar 7 2016 16:23:04
To: = Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX), user@accu= mulo.apache.org
Subject: Re: Class path for shell commands
=
Try $CLA= SSPATH instead of $CLASS_PATH

On Mon, Mar 7, 2016 at 4:11 PM Sravankumar Reddy Javaji (BLOOMB= ERG/ 731 LEX) <sjavaji@bloomberg.net> wrote:
Hello Everyone,

I built custo= m formatter by extending DefaultFormatter class. When I am trying to use De= faultFormatter, I am getting "Class not found" exception. Below are the ste= ps I followed:

From local machine:

<= /div>
$ export CLASS_PATH=3D$CLASS_PATH:<directory where jar exists&= gt;/*.jar

$ CONNECTED to accumulo shell server

$ formatter -f fully_qualified_classname -t table_na= me

$ scan -t table
ERROR: Class not foun= d


Could someone please let me know= any other way to set class path for shell? Also is there anyway to debug t= his issue like checking current classpaths that shell is using?
<= br>
Thanks for your time.

-
Re= gards,
Sravan


<= /div>

------=_Part_9923337_146251341.1457386668220--