You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hama.apache.org by 顾荣 <gu...@gmail.com> on 2012/09/11 06:18:06 UTC
can not start hamma
Hi,all.
I am new to Hama. I installed a hama on my cluster, and configured setting
as the tutorial. However, I can not start hama successfully. The error
message is :
starting bspmaster, logging to
/home/hadoop/hama_installs/hama-0.5.0/bin/../logs/hama-hadoop-bspmaster-slave021.out
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hama/BSPMasterRunner
Caused by: java.lang.ClassNotFoundException: org.apache.hama.BSPMasterRunner
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.hama.BSPMasterRunner. Program
will exit.
localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
localhost: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
localhost: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
localhost: Someone could be eavesdropping on you right now
(man-in-the-middle attack)!
localhost: It is also possible that the RSA host key has just been changed.
localhost: The fingerprint for the RSA key sent by the remote host is
localhost: bd:f4:c9:72:0e:48:74:e4:92:b4:c7:93:a0:24:94:c5.
localhost: Please contact your system administrator.
localhost: Add correct host key in /home/hadoop/.ssh/known_hosts to get rid
of this message.
localhost: Offending key in /home/hadoop/.ssh/known_hosts:5
localhost: Password authentication is disabled to avoid man-in-the-middle
attacks.
localhost: Keyboard-interactive authentication is disabled to avoid
man-in-the-middle attacks.
localhost: starting groom, logging to
/home/hadoop/hama_installs/hama-0.5.0/bin/../logs/hama-hadoop-groom-slave021.out
localhost: Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hama/GroomServerRunner
localhost: Caused by: java.lang.ClassNotFoundException:
org.apache.hama.GroomServerRunner
localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
localhost: at java.security.AccessController.doPrivileged(Native Method)
localhost: at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
localhost: at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
localhost: Could not find the main class:
org.apache.hama.GroomServerRunner. Program will exit.
can you give me some tips?
thanks in advance.
walker
Re: can not start hamma
Posted by 顾荣 <gu...@gmail.com>.
Thanks, Edward. It's a JAR class path error. Problem solved now.
walker.
2012/9/11 Edward J. Yoon <ed...@apache.org>
> Looks like a JAR class path problem. Did you manually run the
> start-bspd.sh script?
>
> On Tue, Sep 11, 2012 at 1:18 PM, 顾荣 <gu...@gmail.com> wrote:
> > Hi,all.
> >
> > I am new to Hama. I installed a hama on my cluster, and configured
> setting
> > as the tutorial. However, I can not start hama successfully. The error
> > message is :
> > starting bspmaster, logging to
> >
> /home/hadoop/hama_installs/hama-0.5.0/bin/../logs/hama-hadoop-bspmaster-slave021.out
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/hama/BSPMasterRunner
> > Caused by: java.lang.ClassNotFoundException:
> org.apache.hama.BSPMasterRunner
> > 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.hama.BSPMasterRunner. Program
> > will exit.
> > localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > localhost: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
> > localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > localhost: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> > localhost: Someone could be eavesdropping on you right now
> > (man-in-the-middle attack)!
> > localhost: It is also possible that the RSA host key has just been
> changed.
> > localhost: The fingerprint for the RSA key sent by the remote host is
> > localhost: bd:f4:c9:72:0e:48:74:e4:92:b4:c7:93:a0:24:94:c5.
> > localhost: Please contact your system administrator.
> > localhost: Add correct host key in /home/hadoop/.ssh/known_hosts to get
> rid
> > of this message.
> > localhost: Offending key in /home/hadoop/.ssh/known_hosts:5
> > localhost: Password authentication is disabled to avoid man-in-the-middle
> > attacks.
> > localhost: Keyboard-interactive authentication is disabled to avoid
> > man-in-the-middle attacks.
> > localhost: starting groom, logging to
> >
> /home/hadoop/hama_installs/hama-0.5.0/bin/../logs/hama-hadoop-groom-slave021.out
> > localhost: Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/hama/GroomServerRunner
> > localhost: Caused by: java.lang.ClassNotFoundException:
> > org.apache.hama.GroomServerRunner
> > localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> > localhost: at java.security.AccessController.doPrivileged(Native
> Method)
> > localhost: at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > localhost: at
> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > localhost: Could not find the main class:
> > org.apache.hama.GroomServerRunner. Program will exit.
> >
> >
> > can you give me some tips?
> >
> > thanks in advance.
> >
> > walker
>
>
>
> --
> Best Regards, Edward J. Yoon
> @eddieyoon
>
Re: can not start hamma
Posted by "Edward J. Yoon" <ed...@apache.org>.
Looks like a JAR class path problem. Did you manually run the
start-bspd.sh script?
On Tue, Sep 11, 2012 at 1:18 PM, 顾荣 <gu...@gmail.com> wrote:
> Hi,all.
>
> I am new to Hama. I installed a hama on my cluster, and configured setting
> as the tutorial. However, I can not start hama successfully. The error
> message is :
> starting bspmaster, logging to
> /home/hadoop/hama_installs/hama-0.5.0/bin/../logs/hama-hadoop-bspmaster-slave021.out
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hama/BSPMasterRunner
> Caused by: java.lang.ClassNotFoundException: org.apache.hama.BSPMasterRunner
> 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.hama.BSPMasterRunner. Program
> will exit.
> localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> localhost: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
> localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> localhost: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> localhost: Someone could be eavesdropping on you right now
> (man-in-the-middle attack)!
> localhost: It is also possible that the RSA host key has just been changed.
> localhost: The fingerprint for the RSA key sent by the remote host is
> localhost: bd:f4:c9:72:0e:48:74:e4:92:b4:c7:93:a0:24:94:c5.
> localhost: Please contact your system administrator.
> localhost: Add correct host key in /home/hadoop/.ssh/known_hosts to get rid
> of this message.
> localhost: Offending key in /home/hadoop/.ssh/known_hosts:5
> localhost: Password authentication is disabled to avoid man-in-the-middle
> attacks.
> localhost: Keyboard-interactive authentication is disabled to avoid
> man-in-the-middle attacks.
> localhost: starting groom, logging to
> /home/hadoop/hama_installs/hama-0.5.0/bin/../logs/hama-hadoop-groom-slave021.out
> localhost: Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hama/GroomServerRunner
> localhost: Caused by: java.lang.ClassNotFoundException:
> org.apache.hama.GroomServerRunner
> localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> localhost: at java.security.AccessController.doPrivileged(Native Method)
> localhost: at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> localhost: at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> localhost: Could not find the main class:
> org.apache.hama.GroomServerRunner. Program will exit.
>
>
> can you give me some tips?
>
> thanks in advance.
>
> walker
--
Best Regards, Edward J. Yoon
@eddieyoon