Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 1B9FEBF1D for ; Wed, 4 Jan 2012 22:56:00 +0000 (UTC) Received: (qmail 59943 invoked by uid 500); 4 Jan 2012 22:55:56 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 59903 invoked by uid 500); 4 Jan 2012 22:55:56 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 59895 invoked by uid 99); 4 Jan 2012 22:55:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 22:55:56 +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 jkrabacher@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 22:55:51 +0000 Received: by vcbfl13 with SMTP id fl13so19706951vcb.35 for ; Wed, 04 Jan 2012 14:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=lDqaHTqJjsciMZgeYbEvgXEFfPP/5OZV8OArRVBS+6g=; b=WWddc8TpoLdQ6NsQ9neV08YKK7YD8Ms988UgPGUXdJimqsZTgCfCyfBapFxxmnEXzP hCe/qEyvxi6LGr8l624fBS9o3yV+B8K4vRRADEStY3cwTk0kylAF2+NWaSjFQRQ9jbGq 9rdhRZx3y3u5jndTEkAzvBeF0dLLC4q09Q6+w= MIME-Version: 1.0 Received: by 10.220.151.143 with SMTP id c15mr37536018vcw.12.1325717729639; Wed, 04 Jan 2012 14:55:29 -0800 (PST) Received: by 10.220.107.135 with HTTP; Wed, 4 Jan 2012 14:55:29 -0800 (PST) In-Reply-To: <4F04D4A9.6060500@gamehouse.com> References: <4F04D4A9.6060500@gamehouse.com> Date: Wed, 4 Jan 2012 16:55:29 -0600 Message-ID: Subject: Re: datanode failing to start. From: Joey Krabacher To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Have you checked your logs? --Joey On Wed, Jan 4, 2012 at 4:37 PM, Dave Kelsey wrote: > > java version 1.6.0_29 > hadoop: 0.20.203.0 > > I'm attempting to setup the pseudo-distributed config on a mac 10.6.8. > I followed the steps from the QuickStart > (http://wiki.apache.org./hadoop/QuickStart) and succeeded with Stage 1: > Standalone Operation. > I followed the steps for Stage 2: Pseudo-distributed Configuration. > I set the JAVA_HOME variable in conf/hadoop-env.sh and I changed tools.ja= r > to the location of classes.jar (a mac version of tools.jar) > I've modified the three .xml files as described in the QuickStart. > ssh'ing to localhost has been configured and works with passwordless > authentication. > I formatted the namenode with "bin/hadoop namenode -format" as the > instructions say > > This is what I see when I run bin/start-all.sh > > root# bin/start-all.sh > starting namenode, logging to > /Users/admin/hadoop/hadoop-0.20.203.0/bin/../logs/hadoop-root-namenode-Ho= ot-2.local.out > localhost: starting datanode, logging to > /Users/admin/hadoop/hadoop-0.20.203.0/bin/../logs/hadoop-root-datanode-Ho= ot-2.local.out > localhost: Exception in thread "main" java.lang.NoClassDefFoundError: ser= ver > localhost: Caused by: java.lang.ClassNotFoundException: server > localhost: =A0 =A0 at java.net.URLClassLoader$1.run(URLClassLoader.java:2= 02) > localhost: =A0 =A0 at java.security.AccessController.doPrivileged(Native = Method) > localhost: =A0 =A0 at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:190) > localhost: =A0 =A0 at java.lang.ClassLoader.loadClass(ClassLoader.java:30= 6) > localhost: =A0 =A0 at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > localhost: =A0 =A0 at java.lang.ClassLoader.loadClass(ClassLoader.java:24= 7) > localhost: starting secondarynamenode, logging to > /Users/admin/hadoop/hadoop-0.20.203.0/bin/../logs/hadoop-root-secondaryna= menode-Hoot-2.local.out > starting jobtracker, logging to > /Users/admin/hadoop/hadoop-0.20.203.0/bin/../logs/hadoop-root-jobtracker-= Hoot-2.local.out > localhost: starting tasktracker, logging to > /Users/admin/hadoop/hadoop-0.20.203.0/bin/../logs/hadoop-root-tasktracker= -Hoot-2.local.out > > There are 4 processes running: > ps -fax | grep hadoop | grep -v grep | wc -l > =A0 =A0 =A04 > > They are: > SecondaryNameNode > TaskTracker > NameNode > JobTracker > > > I've searched to see if anyone else has encountered this and not found > anything > > Dave Kelsey >