You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by ramkrishna vasudevan <ra...@gmail.com> on 2013/10/08 19:10:51 UTC
LoadTestTool and PerformanceEvaluation not working from Hbase installation
Hi
I downloaded the trunk code.. Compiled the code..
Trying to run LoadTestTool and PerfEvlautionTool. I get
ClassNotFoundException. Has anything changed in the class path settings?
Regards
Ram
Re: LoadTestTool and PerformanceEvaluation not working from Hbase installation
Posted by ramkrishna vasudevan <ra...@gmail.com>.
I think what you say is right. Once we build the tar ball and run these
tools it is running fine.
Regards
Ram
On Wed, Oct 9, 2013 at 12:00 AM, Ted Yu <yu...@gmail.com> wrote:
> This is due to PerformanceEvaluation being in
> hbase-server-0.96.0-hadoop2-tests.jar, e.g.
>
> Checking the output from 'bin/hbase classpath', the tests jar is not in the
> classpath.
>
> FYI
>
>
> On Tue, Oct 8, 2013 at 10:19 AM, ramkrishna vasudevan <
> ramkrishna.s.vasudevan@gmail.com> wrote:
>
> > ./hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 1
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/hadoop/hbase/PerformanceEvaluation
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.hadoop.hbase.PerformanceEvaluation
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > Could not find the main class:
> > org.apache.hadoop.hbase.PerformanceEvaluation. Program will exit.
> >
> > This is the way I had been using for sometime now.
> >
> >
> > On Tue, Oct 8, 2013 at 10:44 PM, Ted Yu <yu...@gmail.com> wrote:
> >
> > > Can you give us the whole stack trace ?
> > >
> > > What command did you use ?
> > >
> > > Thanks
> > >
> > >
> > > On Tue, Oct 8, 2013 at 10:10 AM, ramkrishna vasudevan <
> > > ramkrishna.s.vasudevan@gmail.com> wrote:
> > >
> > > > Hi
> > > > I downloaded the trunk code.. Compiled the code..
> > > > Trying to run LoadTestTool and PerfEvlautionTool. I get
> > > > ClassNotFoundException. Has anything changed in the class path
> > settings?
> > > >
> > > > Regards
> > > > Ram
> > > >
> > >
> >
>
Re: LoadTestTool and PerformanceEvaluation not working from Hbase installation
Posted by Ted Yu <yu...@gmail.com>.
This is due to PerformanceEvaluation being in
hbase-server-0.96.0-hadoop2-tests.jar, e.g.
Checking the output from 'bin/hbase classpath', the tests jar is not in the
classpath.
FYI
On Tue, Oct 8, 2013 at 10:19 AM, ramkrishna vasudevan <
ramkrishna.s.vasudevan@gmail.com> wrote:
> ./hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 1
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hadoop/hbase/PerformanceEvaluation
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.hbase.PerformanceEvaluation
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class:
> org.apache.hadoop.hbase.PerformanceEvaluation. Program will exit.
>
> This is the way I had been using for sometime now.
>
>
> On Tue, Oct 8, 2013 at 10:44 PM, Ted Yu <yu...@gmail.com> wrote:
>
> > Can you give us the whole stack trace ?
> >
> > What command did you use ?
> >
> > Thanks
> >
> >
> > On Tue, Oct 8, 2013 at 10:10 AM, ramkrishna vasudevan <
> > ramkrishna.s.vasudevan@gmail.com> wrote:
> >
> > > Hi
> > > I downloaded the trunk code.. Compiled the code..
> > > Trying to run LoadTestTool and PerfEvlautionTool. I get
> > > ClassNotFoundException. Has anything changed in the class path
> settings?
> > >
> > > Regards
> > > Ram
> > >
> >
>
Re: LoadTestTool and PerformanceEvaluation not working from Hbase installation
Posted by ramkrishna vasudevan <ra...@gmail.com>.
./hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 1
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/hbase/PerformanceEvaluation
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.hbase.PerformanceEvaluation
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class:
org.apache.hadoop.hbase.PerformanceEvaluation. Program will exit.
This is the way I had been using for sometime now.
On Tue, Oct 8, 2013 at 10:44 PM, Ted Yu <yu...@gmail.com> wrote:
> Can you give us the whole stack trace ?
>
> What command did you use ?
>
> Thanks
>
>
> On Tue, Oct 8, 2013 at 10:10 AM, ramkrishna vasudevan <
> ramkrishna.s.vasudevan@gmail.com> wrote:
>
> > Hi
> > I downloaded the trunk code.. Compiled the code..
> > Trying to run LoadTestTool and PerfEvlautionTool. I get
> > ClassNotFoundException. Has anything changed in the class path settings?
> >
> > Regards
> > Ram
> >
>
Re: LoadTestTool and PerformanceEvaluation not working from Hbase installation
Posted by Ted Yu <yu...@gmail.com>.
Can you give us the whole stack trace ?
What command did you use ?
Thanks
On Tue, Oct 8, 2013 at 10:10 AM, ramkrishna vasudevan <
ramkrishna.s.vasudevan@gmail.com> wrote:
> Hi
> I downloaded the trunk code.. Compiled the code..
> Trying to run LoadTestTool and PerfEvlautionTool. I get
> ClassNotFoundException. Has anything changed in the class path settings?
>
> Regards
> Ram
>