Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E17B5440B for ; Thu, 2 Jun 2011 20:08:39 +0000 (UTC) Received: (qmail 97787 invoked by uid 500); 2 Jun 2011 20:08:39 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 97744 invoked by uid 500); 2 Jun 2011 20:08:39 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 97736 invoked by uid 99); 2 Jun 2011 20:08:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 20:08:39 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of gokrazzzy@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 20:08:33 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QSEBg-0005MD-IE for common-issues@hadoop.apache.org; Thu, 02 Jun 2011 13:08:12 -0700 Date: Thu, 2 Jun 2011 13:08:12 -0700 (PDT) From: gokul To: common-issues@hadoop.apache.org Message-ID: <1307045292541-3016972.post@n3.nabble.com> Subject: Hadoop QuickStart Standalone Operation error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dear all, I have been trying to get a hang of Hadoop (noob/ newbie). After installation, I followed the Quick Start guide of Hadoop to execute the sample example given ( http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html#Local Standalone Operation ). After executing the third step ( $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+' ), I got the error saying that "Exception in thread "main" java.lang.NoClassDefFoundError: Internship/hadoop-0/20/2/bin////logs Caused by: java.lang.ClassNotFoundException: Internship.hadoop-0.20.2.bin....logs at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: Internship/hadoop-0.20.2/bin/../logs. Program will exit." I tried a lot of different things and nothing worked. Some of the solutions that didn't help: 1) Set the $JAVA_HOME path correctly (works fine) 2) Command incorrect: $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+' (correct as per Hadoop QuickStart) Any form of help is very very gratefully appreciated. Thanks in advance. -- View this message in context: http://hadoop-common.472056.n3.nabble.com/Hadoop-QuickStart-Standalone-Operation-error-tp3016972p3016972.html Sent from the Issues mailing list archive at Nabble.com.