hadoop@master hadoop]$ stop-yarn.sh stopping yarn daemons stopping resourcemanager localhost: stopping nodemanager no proxyserver to stop 、 [hadoop@master hadoop]$ jps 51616 NameNode 7236 Jps 51771 DataNode 51995 SecondaryNameNode [hadoop@master hadoop]$ stop-dfs.sh 16/11/03 10:36:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Stopping namenodes on [localhost] localhost: stopping namenode localhost: stopping datanode Stopping secondary namenodes [0.0.0.0] 0.0.0.0: stopping secondarynamenode 16/11/03 10:36:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [hadoop@master hadoop]$ jps 9463 Jps
重新启动并查看运行进程和集群状态信息
[hadoop@master hadoop]$ start-dfs.sh [hadoop@master hadoop]$ start-yarn.sh [hadoop@master hadoop]$ jps 12178 ResourceManager 12690 Jps 11540 NameNode 11943 SecondaryNameNode 12312 NodeManager 11707 DataNode [hadoop@master hadoop]$ hdfs dfsadmin -report
五、web查看
由于我没有使用web查看过,所以不知道网页查看是长什么样子的。但端口应该是50030和和50070。可以打开页面访问 ip:50030, ip:50070
至此,伪分布式hadoop平台搭建完成。要了解更多请参考官网文档。
下面关于Hadoop的文章您也可能喜欢,不妨看看:
Ubuntu14.04下Hadoop2.4.1单机/伪分布式安装配置教程