Call From hadoop102/192.168.10.102 to hadoop102:8020 failed on connection exception: java.net.Connec

博客详细记录了Hadoop作业由于连接异常导致的FAILED状态问题,异常指出从master节点到localhost的连接被拒绝。问题根源可能是配置错误,建议检查/etc/hosts文件及hostname设置。
摘要由CSDN通过智能技术生成

22/08/31 11:02:50 INFO mapreduce.Job: Job job_1661956323489_0002 failed with state FAILED due to: Application application_1661956323489_0002 failed 2 times due to Error launching appattempt_1661956323489_0002_000002. Got exception: java.net.ConnectException: Call From master/192.168.32.101 to localhost:33589 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at sun.reflect.GeneratedConstructorAccessor46.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:827)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:757)
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1564)
at org.apache.hadoop.ipc.Client.call(Client.java:1506)
at org.apache.hadoop.ipc.Client.call(Client.java:1403)
at org.apache.hadoop.ipc.ProtobufRpcEngine I n v o k e r . i n v o k e ( P r o t o b u f R p c E n g i n e . j a v a : 230 ) a t o r g . a p a c h e . h a d o o p . i p c . P r o t o b u f R p c E n g i n e Invoker.invoke(ProtobufRpcEngine.java:230) at org.apache.hadoop.ipc.ProtobufRpcEngine Invoker.invoke(ProtobufRpcEngine.java:230)atorg.apache.hadoop.ipc.ProtobufRpcEngineInvoker.invoke(ProtobufRpcEngine.java:118)
at com.sun.proxy. P r o x y 83. s t a r t C o n t a i n e r s ( U n k n o w n S o u r c e ) a t o r g . a p a c h e . h a d o o p . y a r n . a p i . i m p l . p b . c l i e n t . C o n t a i n e r M a n a g e m e n t P r o t o c o l P B C l i e n t I m p l . s t a r t C o n t a i n e r s ( C o n t a i n e r M a n a g e m e n t P r o t o c o l P B C l i e n t I m p l . j a v a : 128 ) a t s u n . r e f l e c t . G e n e r a t e d M e t h o d A c c e s s o r 15. i n v o k e ( U n k n o w n S o u r c e ) a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值