Protobuf RPC在Hadoop 2.2.0单节点服务器上不可用? [英] Protobuf RPC not available on Hadoop 2.2.0 single node server?
问题描述
我试图在本教程安装的本地单节点集群上运行hadoop 2.2.0 mapreduce作业:
http://codesfusion.blogspot.co.at/2013/10/setup-hadoop-2x-220- on-ubuntu.html?m = 1
I am trying to run a hadoop 2.2.0 mapreduce job on my local single node cluster installed by following this tutorial: http://codesfusion.blogspot.co.at/2013/10/setup-hadoop-2x-220-on-ubuntu.html?m=1
尽管在服务器端引发了以下异常:
Though on the server side the following exception is thrown:
org.apache.hadoop.ipc.RpcNoSuchProtocolException: Unknown protocol: org.apache.hadoop.yarn.api.ApplicationClientProtocolPB
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.getProtocolImpl(ProtobufRpcEngine.java:527)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:566)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2048)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2044)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2042)
有没有办法让我在服务器端配置Protobuf RPC?我需要hadoop本地库吗?或者我可以在客户端以某种方式切换到Writables / Avro RPC?
Is there a way for me to configure Protobuf RPC to be available on server side? Do I need the hadoop native libraries for this? Or can I switch somehow on the client side to Writables/Avro RPC?
推荐答案
好的,找到原因,我连接到yarn resourcemanager的错误端口。正确的配置是:
yarn.resourcemanager.address = localhost:8032
Ok, found the reason, I connected to the wrong port for the yarn resourcemanager. The correct configuration is: yarn.resourcemanager.address=localhost:8032
这篇关于Protobuf RPC在Hadoop 2.2.0单节点服务器上不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!