zoukankan      html  css  js  c++  java
  • ipc.Client: Retrying connect to server: .../10.0.0.27:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

    运行 时候爆出这个错

    Exception in thread "main" java.io.IOException: java.net.ConnectException: Call From hadoop.slave01/192.168.121.133 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
    	at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:344)
    	at org.apache.hadoop.mapred.ClientServiceDelegate.getJobStatus(ClientServiceDelegate.java:429)
    	at org.apache.hadoop.mapred.YARNRunner.getJobStatus(YARNRunner.java:601)
    	at org.apache.hadoop.mapreduce.Job$1.run(Job.java:323)
    	at org.apache.hadoop.mapreduce.Job$1.run(Job.java:320)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:422)
    	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1758)
    	at org.apache.hadoop.mapreduce.Job.updateStatus(Job.java:320)
    	at org.apache.hadoop.mapreduce.Job.isComplete(Job.java:604)
    	at org.apache.hadoop.mapreduce.Job.monitorAndPrintJob(Job.java:1349)
    	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1311)
    	at com.mr.wordcount.WordcountDriver.main(WordcountDriver.java:32)
    FinalApplicationStatus=SUCCEEDED. Redirecting to job history server
    ipc.Client: Retrying connect to server: hadoop-master/10.0.0.27:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
    

      

      

    要开启 sbin下面的 historyserver

    mr-jobhistory-daemon.sh start historyserver
    

      

    这个开启有点慢要等等;然后查看10200监听端口

    netstat -an | grep 10020  

    直到看到,下面监听成功

  • 相关阅读:
    活动投票
    人品问题
    网站记录
    浅谈底层常数优化及编译器优化
    透过用户思维谈程序员的进阶之路
    我们为什么要学习?写给我的组员们
    原来你是这样的Websocket--抓包分析
    我看依赖注入
    使用反射+策略模式代替项目中大量的switch case判断
    JavaScript 词法作用域不完全指北
  • 原文地址:https://www.cnblogs.com/Jomini/p/11518476.html
Copyright © 2011-2022 走看看