1. 如果遇到Hadoop没有启动的情况,先检查
$ jps
1700 Bootstrap
16137 TaskTracker29691 NameNode31026 DataNode6809 Jps1681 Bootstrap1662 Manager32761 JobTracker如果少了什么就需要启动相应的service. 可以在这里找到 wget http://169.254.169.254/latest/user-data。
service hadoop-namenode start
service hadoop-datanode start service hadoop-jobtracker start service hadoop-tasktracker start service zookeeper-server start service hbase-master start service hbase-regionserver start service hbase-thrift start
检查hdfs是否与每个datanode连好,
sudo -u hdfs hadoop dfsadmin -report
sudo -u hdfs hadoop dfsadmin -report | grep Name