hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: My cluster datanode machine can't start
Date Thu, 11 Aug 2011 09:39:10 GMT
A quick workaround is to not run your services as root.

(Actually, you shouldn't run Hadoop as root ever!)

On Thu, Aug 11, 2011 at 3:02 PM, devilsp4 <devilsp4@gmail.com> wrote:
> Hi,
>
>      I deploy hadoop cluster use two machine.one as a namenode,and the other be used
a datanode.
>
>      My namenode machine hostname is namenode1,and datanode machine hostname is datanode1.
>
>      when I use command ./start-all.sh on namenode1,the console display below string,
>
> root@namenode1:/opt/hadoop/bin# ./start-all.sh
> starting namenode, logging to /opt/hadoop/bin/../logs/hadoop-root-namenode-namenode1.out
> datanode1: starting datanode, logging to /opt/hadoop/bin/../logs/hadoop-root-datanode-datanode1.out
> namenode1: starting secondarynamenode, logging to /opt/hadoop/bin/../logs/hadoop-root-secondarynamenode-namenode1.out
> starting jobtracker, logging to /opt/hadoop/bin/../logs/hadoop-root-jobtracker-namenode1.out
> datanode1: starting tasktracker, logging to /opt/hadoop/bin/../logs/hadoop-root-tasktracker-datanode1.out
>
> and use jps show java processs,display below string,
>
>    15438 JobTracker
> 15159 NameNode
> 15582 Jps
> 15362 SecondaryNameNode
>
> and ssh datanode1,use comman jps,display below somethins strings
>
> 21417 TaskTracker
> 21497 Jps
>
>
> so,the datanode can't run,and I find logs
>
> [root@datanode1 logs]# ls
> hadoop-root-datanode-datanode1.out    hadoop-root-tasktracker-datanode1.log    hadoop-root-tasktracker-datanode1.out.2
> hadoop-root-datanode-datanode1.out.1  hadoop-root-tasktracker-datanode1.out
> hadoop-root-datanode-datanode1.out.2  hadoop-root-tasktracker-datanode1.out.1
>
> [root@datanode1 logs]# cat hadoop-root-datanode-datanode1.out
> Unrecognized option: -jvm
> Could not create the Java virtual machine.
>
>
>    Next, what should I do to solve this problem。
>
>
>    Thanks. devilsp
>



-- 
Harsh J

Mime
View raw message