Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D59A1099D for ; Wed, 9 Oct 2013 04:55:34 +0000 (UTC) Received: (qmail 15538 invoked by uid 500); 9 Oct 2013 04:55:24 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 15458 invoked by uid 500); 9 Oct 2013 04:55:15 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 15445 invoked by uid 99); 9 Oct 2013 04:55:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 04:55:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ramkrishna.s.vasudevan@gmail.com designates 209.85.128.52 as permitted sender) Received: from [209.85.128.52] (HELO mail-qe0-f52.google.com) (209.85.128.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 04:55:05 +0000 Received: by mail-qe0-f52.google.com with SMTP id w7so205142qeb.11 for ; Tue, 08 Oct 2013 21:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xuV9pwH9RKEoJLvE8PYKVbf7r19apz6QmcsVvqkDgSc=; b=WJ9st3No+qV7nM/J/8wICiRiWplSYqyzYKt4JXKjQ1FoeSuPW/wkZFyq6wXN7g3VQu cOomzR/SCuOxrGiRrA2keEjw+dcn6sWYFK4AyY0wYqhgq2zxTFAhEULnEOPofgpscPV4 9/haE4G7GKAD8rp6EcWNEP/bogpzMa91MVfCu+dsUZHkvPKTAhD5Tt2mlaSHaLmNbIuf ecZh3jV92pVSv1uiWcfTK2OUyl0nXRc5ZlIwMSdd9T6mV0XzPoMxJUcw0ROSqX02m+WY d8i11mXZEMmF+3kiPLJ2mWQWQnRKqaWoAxvv5GC/WedxnOPeE5HQBrMLOEd74Qilh+5R W19A== MIME-Version: 1.0 X-Received: by 10.224.6.10 with SMTP id 10mr8617565qax.31.1381294484899; Tue, 08 Oct 2013 21:54:44 -0700 (PDT) Received: by 10.49.17.131 with HTTP; Tue, 8 Oct 2013 21:54:44 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Oct 2013 10:24:44 +0530 Message-ID: Subject: Re: LoadTestTool and PerformanceEvaluation not working from Hbase installation From: ramkrishna vasudevan To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c2b9941b8b2804e847af2b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2b9941b8b2804e847af2b Content-Type: text/plain; charset=ISO-8859-1 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 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 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 > > > > > > > > > > --001a11c2b9941b8b2804e847af2b--