hadoop 2.8未打开任何tcp端口

q8l4jmvw  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(267)

我按照以下apache指南将hadoop 2.8安装到运行带有openjdk 7的ubuntu 16.04 server edition的odroid xu4 armhf设备上:https://hadoop.apache.org/docs/r2.8.0/hadoop-project-dist/hadoop-common/singlecluster.html
一切似乎都很好,当我运行jps时,我看到以下进程:

- NameNode
- DataNode
- SecondaryNameNode
- ResourceManager
- NodeManager

目前,我已经将hadoop设置为单节点集群,但是当我运行命令“netstat--listen”时,我没有看到hadoop使用的任何打开的端口。所以端口9000没有打开,或者50070没有打开。以下是我从netstat看到的:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.1.1:domain        *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp6       0      0 [::]:http               [::]:*                  LISTEN
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
udp        0      0 127.0.1.1:domain        *:*
udp        0      0 *:bootpc                *:*
udp        0      0 *:48076                 *:*
raw6       0      0 [::]:ipv6-icmp          [::]:*                  7

当我运行start-dfs.sh时,我看到以下输出:

17/04/28 19:03:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: starting namenode, logging to /root/hadoop/logs/hadoop-root-namenode-odroid1.out
localhost: starting datanode, logging to /root/hadoop/logs/hadoop-root-datanode-odroid1.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /root/hadoop/logs/hadoop-root-secondarynamenode-odroid1.out
17/04/28 19:04:18 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

我已经花了三天时间调试了这个,但是由于某些原因,hadoop根本没有打开任何tcp端口。有什么我不知道的吗?
我非常感谢你的帮助。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题