hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Thompson <kthom...@binghamton.edu>
Subject Re: problems with start-all.sh
Date Tue, 10 May 2011 15:39:12 GMT
Hi Luca,

Thank you.  That worked ... at least I didn't get the same error.  Now I
get:

k_thomp@linux-8awa:/usr/local/hadoop-0.20.2> sudo bin/start-all.sh
starting namenode, logging to
/usr/local/hadoop-0.20.2/bin/../logs/hadoop-root-namenode-linux-8awa.out
cat: /usr/local/hadoop-0,20.2/conf/slaves: No such file or directory
Password:
localhost: starting secondarynamenode, logging to
/usr/local/hadoop-0.20.2/bin/../logs/hadoop-root-secondarynamenode-linux-8awa.out
localhost: Exception in thread "main" java.lang.NullPointerException
localhost:      at
org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
localhost:      at
org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:156)
localhost:      at
org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:160)
localhost:      at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:131)
localhost:      at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:115)
localhost:      at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:469)
starting jobtracker, logging to
/usr/local/hadoop-0.20.2/bin/../logs/hadoop-root-jobtracker-linux-8awa.out
cat: /usr/local/hadoop-0,20.2/conf/slaves: No such file or directory

On Tue, May 10, 2011 at 11:25 AM, Luca Pireddu <pireddu@crs4.it> wrote:

> Hi Keith,
>
> On May 10, 2011 17:20:15 Keith Thompson wrote:
> > I have installed hadoop-0.20.2 (using quick start guide) and mahout.  I
> am
> > running OpenSuse Linux 11.1 (but am a newbie to Linux).
> > My JAVA_HOME is set to usr/java/jdk1.6.0_21.  When I run bin/hadoop
> > start-all.sh I get the following error message:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError: start-all/sh
> > Caused by: java.lang.ClassNotFoundException: start-all.sh
> >         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: start-all.sh.  Program will exit.
>
> Try running:  bin/start-all.sh
>
>
> --
> Luca Pireddu
> CRS4 - Distributed Computing Group
> Loc. Pixina Manna Edificio 1
> Pula 09010 (CA), Italy
> Tel:  +39 0709250452
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message