LEE, ChaeEung created AVRO-1375: ----------------------------------- Summary: Python to Java RPC call error Key: AVRO-1375 URL: https://issues.apache.org/jira/browse/AVRO-1375 Project: Avro Issue Type: Bug Components: java, python Affects Versions: 1.7.5, 1.7.4 Environment: Client MacOSx64x, Server Windows7 64x Reporter: LEE, ChaeEung Priority: Critical
first of all, i'm not goot at english.. if you can't understant what i'm saying .. just loot at source code and error message below~ thank you. == Situation == I'm using avro-quick-start sample code using github... It works fine with java-to-java, python-to-python, java-to-python but It not working... java-to-python.. I think it caused by difference of data type between java and mac-python-64x == avro scheme == mail.avpr {"namespace": "example.proto", "protocol": "Mail", "types": [ {"name": "Message", "type": "record", "fields": [ {"name": "to", "type": "string"}, {"name": "from", "type": "string"}, {"name": "body", "type": "string"} ] } ], "messages": { "send": { "request": [{"name": "message", "type": "Message"}], "response": "string" } } } == Exception Message == 877 [pool-2-thread-1] WARN org.apache.avro.ipc.NettyServer - Unexpected exception from downstream. org.apache.avro.AvroRuntimeException: Excessively large list allocation request detected: 539959368 items! Connection closed. at org.apache.avro.ipc.NettyTransportCodec$NettyFrameDecoder.decodePackHeader(NettyTransportCodec.java:167) at org.apache.avro.ipc.NettyTransportCodec$NettyFrameDecoder.decode(NettyTransportCodec.java:139) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:286) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:208) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:94) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:364) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:238) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira