try: ./accumulo -add <jar> shell 

----- Original Message -----

From: "Christopher" <ctubb...@apache.org> 
To: user@accumulo.apache.org, "Sravankumar Reddy Javaji" 
<sjav...@bloomberg.net> 
Sent: Monday, March 7, 2016 4:28:03 PM 
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) < 
sjav...@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 

<blockquote>

Try $CLASSPATH instead of $CLASS_PATH 

On Mon, Mar 7, 2016 at 4:11 PM Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX) < 
sjav...@bloomberg.net > wrote: 

<blockquote>

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:<directory where jar exists>/*.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 




</blockquote>


</blockquote>


Reply via email to