Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1375

Python to Java RPC call error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.7.4, 1.7.5
    • None
    • java, python
    • Client MacOSx64x, Server Windows7 64x

    • Client,Python,Java,

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            archmagece LEE, ChaeEung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: