hadoop集群跑任务出错总结
1. Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Download and unpack failed
解决:
一般是/etc/hosts没有配置,需要把集群ip对应的域名添加到hosts即可,如: 192.168.0.1 bigdata1 192.168.0.2 bigdata2 192.168.0.3 bigdata3
2. linux服务器输入命令:/usr/local/java/bin/jps,看不到对应的进程
解决: chmod 755 hsperfdata_*,随后重新启动服务,才能看到