Hi, I have a YARN application (Client.java and ApplicationMaster.java) that I have had been compiling and running with the hadoop-2.0.0-alpha. I recently downloaded hadoop-2.0.3-alpha and been trying to compile and run my application against it. I am seeing the following exception, can somebody please help me telling what should I do in order to make it work?
2013-03-25 07:05:48,184 INFO Client (Client.java:main(143)) - Initializing Client 2013-03-25 07:05:48,198 INFO Client (Client.java:launchAndMonitorAM(463)) - Starting Client 2013-03-25 07:05:48,294 INFO Client (Client.java:connectToASM(564)) - Connecting to ResourceManager at isredeng/127.0.1.1:8032 2013-03-25 07:05:48,839 FATAL Client (Client.java:main(149)) - Error running CLient java.lang.reflect.UndeclaredThrowableException at org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl.unwrapAndThrowException(YarnRemoteExceptionPBImpl.java:135) at org.apache.hadoop.yarn.api.impl.pb.client.ClientRMProtocolPBClientImpl.getClusterMetrics(ClientRMProtocolPBClientImpl.java:123) at Client.dumpClusterInfo(Client.java:245) at Client.launchAndMonitorAM(Client.java:469) at Client.main(Client.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.hadoop.util.RunJar.main(RunJar.java:208) Caused by: com.google.protobuf.ServiceException: java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status; Host Details : local host is: "isredeng/ 127.0.1.1"; destination host is: "isredeng":8032; at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:187) at $Proxy4.getClusterMetrics(Unknown Source) at org.apache.hadoop.yarn.api.impl.pb.client.ClientRMProtocolPBClientImpl.getClusterMetrics(ClientRMProtocolPBClientImpl.java:121) ... 8 more Caused by: java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status; Host Details : local host is: "isredeng/ 127.0.1.1"; destination host is: "isredeng":8032; at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:765) at org.apache.hadoop.ipc.Client.call(Client.java:1165) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:184) ... 10 more Caused by: com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status at com.google.protobuf.UninitializedMessageException.asInvalidProtocolBufferException(UninitializedMessageException.java:81) at org.apache.hadoop.ipc.protobuf.RpcPayloadHeaderProtos$RpcResponseHeaderProto$Builder.buildParsed(RpcPayloadHeaderProtos.java:1094) at org.apache.hadoop.ipc.protobuf.RpcPayloadHeaderProtos$RpcResponseHeaderProto$Builder.access$1300(RpcPayloadHeaderProtos.java:1028) at org.apache.hadoop.ipc.protobuf.RpcPayloadHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(RpcPayloadHeaderProtos.java:986) at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:850) at org.apache.hadoop.ipc.Client$Connection.run(Client.java:781) Thanks, Kishore