简体   繁体   中英

Hadoop 2.6 installation on Mac, failed to start ResourceManager

I'm trying to install Hadoop on Mac, following this post.

Everything looks fine, but in the end, I cannot start the ResourceManager . ie after running $jps .

It is supposed to show something like below.

2507 ResourceManager   ---------this is missing (not started)

1712 SecondaryNameNode

1412 NameNode

1540 DataNode

2045 NodeManager

2858 Jps

Here is the error message I got:

starting resourcemanager, logging to /usr/local/Cellar/hadoop/2.6.0/libexec/logs/yarn-myUserName-resourcemanager-Mac.out

nohup: can't detach from console: No such file or directory

FYI, I've also changed the ownership of this hadoop folder. (as follows)

$mkdir -p /usr/local/Cellar/hadoop/2.6.0/hadoop_data/hdfs/namenode 

$mkdir -p /usr/local/Cellar/hadoop/2.6.0/hadoop_data/hdfs/datanode 

$sudo chown -R Tiger /usr/local/Cellar/hadoop

Any suggestions?

that's wired, I just retried to start the resourcemanager, it works !!!! thought the nodemanager stoped. sorry for bothering, Omigo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM