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  

    直到看到,下面监听成功

  • 相关阅读:
    Python 2, Python 3, Stretch & Buster
    React Native v0.4 发布,用 React 编写移动应用
    Web性能优化分析
    剖析页面绘制时间
    Web页面制作之开发调试工具
    AlloyRenderingEngine入门
    LFTP 4.6.2 发布,命令行 FTP 工具。这个东东可以用来做插件
    麻省理工的 Picture 语言:代码瘦身的秘诀
    2015超实用的前端开发指南
    手机软件没过多久就删了 APP到底得了什么病?
  • 原文地址:https://www.cnblogs.com/Jomini/p/11518476.html
Copyright © 2011-2022 走看看