java.lang.IllegalStateException: Invalid shuffle port number -1 returned for attempt_1377744323071_0

java.lang.IllegalStateException: Invalid shuffle port number -1 returned for attempt_1377744323071_0001_m_000000_2

解决:在网上查了一下,这个yarn调试问题,在 yarn-site.xml文件中添加一下配置:


    yarn.nodemanager.aux-services
    mapreduce.shuffle

停掉hadoop所有服务,

hadoop@ubuntu:/usr/local/hadoop/sbin$ ./stop-all.sh

然后重启,ok

hadoop@ubuntu:/usr/local/hadoop/sbin$ ./start-all.sh


你可能感兴趣的:(大数据)