[ 
https://issues.apache.org/jira/browse/ARROW-11177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Li updated ARROW-11177:
-----------------------------
    Component/s: FlightRPC

> [Java] ArrowMessage failed to parse compressed grpc stream
> ----------------------------------------------------------
>
>                 Key: ARROW-11177
>                 URL: https://issues.apache.org/jira/browse/ARROW-11177
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: FlightRPC, Java
>    Affects Versions: 2.0.1, 3.0.0
>            Reporter: Jackey Lee
>            Priority: Major
>
> InvalidProtocolBufferException will be thrown in ArrowMessage.frame if we use 
> gzip compress in Grpc.
> The reason is stream.available will still be 1 after we read compressed data. 
> There should be another attempt read to change InflaterInputStream.reachEOF 
> to be true, and make stream.available to be 0.
> Thus we need check stream.available after read tag from stream.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to