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  

    直到看到,下面监听成功

  • 相关阅读:
    sql语句性能优化
    Windows版Redis如何使用?(单机)
    redis在项目中的使用(单机版、集群版)
    在windows上搭建redis集群(redis-cluster)
    Jenkins打包Maven项目
    numpy交换列
    Linq中join多字段匹配
    SpringMVC Web项目升级为Springboot项目(二)
    SpringMVC Web项目升级为Springboot项目(一)
    springboot读取application.properties中自定义配置
  • 原文地址:https://www.cnblogs.com/Jomini/p/11518476.html
Copyright © 2011-2022 走看看