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) <[email protected]> wrote: > Sorry that's typo. I used CLASSPATH, still not working. > > From: [email protected] At: Mar 7 2016 16:23:04 > To: Sravankumar Reddy Javaji (BLOOMBERG/ 731 LEX) <[email protected]>, > [email protected] > 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) <[email protected]> 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:<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 >> > >
