简体   繁体   English

在Mac上安装Hadoop 2.6,无法启动ResourceManager

[英]Hadoop 2.6 installation on Mac, failed to start ResourceManager

I'm trying to install Hadoop on Mac, following this post. 在这篇文章之后 ,我正在尝试在Mac上安装Hadoop

Everything looks fine, but in the end, I cannot start the ResourceManager . 一切看起来都很好,但是最后,我无法启动ResourceManager ie after running $jps . 即在运行$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 nohup:无法从控制台分离:没有这样的文件或目录

FYI, I've also changed the ownership of this hadoop folder. 仅供参考,我还更改了此hadoop文件夹的所有权。 (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 !!!! 有线,我只是尝试启动resourcemanager,它有效!!!! thought the nodemanager stoped. 以为节点管理器停止了。 sorry for bothering, Omigo 抱歉,Omigo

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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