You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org> on 2010/05/20 23:07:17 UTC
[jira] Created: (HADOOP-6782) TestAvroRpc fails with avro-1.3.1 and
avro-1.3.2
TestAvroRpc fails with avro-1.3.1 and avro-1.3.2
------------------------------------------------
Key: HADOOP-6782
URL: https://issues.apache.org/jira/browse/HADOOP-6782
Project: Hadoop Common
Issue Type: Bug
Reporter: Jitendra Nath Pandey
I tried to upgrade Hadoop-common to use avro-1.3.1. TestAvroRpc fails with following exceptions.
Same exception is seen with avro-1.3.2 as well.
org.apache.avro.AvroRuntimeException: Not in union ["string"]: org.apache.avro.AvroRuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.ipc.TestAvroRpc$TestImpl.echo(java.lang.String)
at org.apache.avro.generic.GenericData.resolveUnion(GenericData.java:340)
at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:67)
at org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:116)
at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:55)
at org.apache.avro.specific.SpecificResponder.writeError(SpecificResponder.java:81)
at org.apache.avro.ipc.Responder.respond(Responder.java:137)
at org.apache.hadoop.ipc.AvroRpcEngine$TunnelResponder.call(AvroRpcEngine.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:738)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344)
2010-05-20 13:50:39,227 INFO ipc.Server (Server.java:run(1358)) - IPC Server handler 0 on 54672, call call(org.apache.hadoop.ipc.AvroRpcEngine$BufferListWritable@7bcd280b) from 127.0.0.1:54673: error: java.io.IOException: org.apache.avro.AvroRuntimeException: Not in union ["string"]: org.apache.avro.AvroRuntimeException: Not in union ["string"]: org.apache.avro.AvroRuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.ipc.TestAvroRpc$TestImpl.echo(java.lang.String)
java.io.IOException: org.apache.avro.AvroRuntimeException: Not in union ["string"]: org.apache.avro.AvroRuntimeException: Not in union ["string"]: org.apache.avro.AvroRuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.ipc.TestAvroRpc$TestImpl.echo(java.lang.String)
at org.apache.avro.generic.GenericData.resolveUnion(GenericData.java:340)
at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:67)
at org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:116)
at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:55)
at org.apache.avro.specific.SpecificResponder.writeError(SpecificResponder.java:81)
at org.apache.avro.ipc.Responder.respond(Responder.java:146)
at org.apache.hadoop.ipc.AvroRpcEngine$TunnelResponder.call(AvroRpcEngine.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:738)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.