1.由于没启动dfs报错laocalhost:9000端口拒绝访问:
使用jps指令查看集群的的启动状态发现时namenode,datenode未启动
使用start-dfs.sh 启动hdfs
2.java.lang.IllegalArgumentException: The ServiceName: mapreduce-shuffle set in yarn.nodemanager.aux-services is invalid.The valid service name should only contain a-zA-Z0-9_ and can not start with numbers
报错
问题 由于yarn-site.xml中的
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
value属性配置错误 下划线
3.java.io.FileNotFoundException: File /hadoop/hadoop/hdfs/nm-local-dir/usercache/root/appcache/application