2020-12-30

mapreduce运行问题

每个步骤都是按照厦门大学数据库实验室里mapreduce编程的步骤来的却出现错误
mapreduce运行时出现
Reteying connect to serve:0.0.0.0/0.0.0.0:8032
Your endpoint configuration is wrong
一开始以为是端口号出现问题,按照网上的帖子修改yarn-site.xml中的内容,又或者修改/etc/hosts中的内容,重新启动hdfs和yarn等等方法都没有用
Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
java.net.ConnectException: Your endpoint configuration is wrong; For more details see:  http://wiki.apache.org/hadoop/UnsetHostnameOrPort, while invoking ApplicationClientProtocolPBClientImpl.getNewApplication over null after 1 failover attempts.
后来去某宝找人改错,受某位客服启发,告诉我是可能是某个服务没启动,所以端口号无法连接上。于是进入/usr/local/hadoop启动./sbin/start-all.sh问题就解决了
2020-12-30_第1张图片2020-12-30_第2张图片

你可能感兴趣的:(笔记)