Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 4B9F998E9 for ; Tue, 24 Jan 2012 20:11:36 +0000 (UTC) Received: (qmail 23481 invoked by uid 500); 24 Jan 2012 20:11:34 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 23362 invoked by uid 500); 24 Jan 2012 20:11:33 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 23354 invoked by uid 99); 24 Jan 2012 20:11:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 20:11:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dongfeiwww@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 20:11:28 +0000 Received: by wera13 with SMTP id a13so2190316wer.14 for ; Tue, 24 Jan 2012 12:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=B8/zx1k6ZCtlyNDXYOQdFYYLjnZckRaYqv5T/mRlUBI=; b=jDVacaj5qnRN1EFVDG04PP1hu/v6/es59X394Y8ICRlPcedFxco4kgA9BCTwA9WOCJ WVyO9WmS6UJxar12WrL7ZsUo1pcJ6LTSK5dNIZmgPC4QubgtwKj4NsFjoKkirLOvF2AA fKVmQoRzAFid88fdyVQzlpascSV/1iS0Aw9vo= Received: by 10.216.138.220 with SMTP id a70mr1974097wej.24.1327435866389; Tue, 24 Jan 2012 12:11:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.154.208 with HTTP; Tue, 24 Jan 2012 12:10:26 -0800 (PST) In-Reply-To: References: From: Fei Dong Date: Tue, 24 Jan 2012 15:10:26 -0500 Message-ID: Subject: Re: NoClassDefFoundError when running Hadoop with HBase To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Stack On Tue, Jan 24, 2012 at 12:11 PM, Stack wrote: > On Tue, Jan 24, 2012 at 8:11 AM, Fei Dong wrote: >> It says only Hadoop 0.20.205.x can match? >> > > No. =A0Also includes 1.0.0 and other hadoop offerings (read through that = section) > > > >> I did not run any application before, so it should not have concurrent >> problem. Then I set it in hbase-site.xml, it still reports such error. >> =A0 =A0hbase.zookeeper.property.maxClientCnxns >> =A0 =A01000 >> > > Anything in zk logs? =A0If you connect to it w/ zkcli does it say > 1000 > connections? > I test the hbase shell on another machine, which can "put", "get" record successfully. So I guess Zookeeper is running. > It is weird that it does not mention any path or class name behind "NoClassDefFoundError" It seems some error occurs when copying jar from JobTracker to TaskTracker, or it does not copy. The task tracker error log: Exception in thread "main" java.lang.NoClassDefFoundError: Caused by: java.lang.ClassNotFoundException: 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:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: . Program will exit. > > St.Ack --=20 Best Regards, -- Fei Dong