Csehpi opened a new issue, #37172:
URL: https://github.com/apache/arrow/issues/37172

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Hello All,
   
   I would like to ask your help in the following issue I am facing with.
   
   I have a Java and a Python application in different pods running on 
Kubernetes. On the Python side I have a running Arrow Flight server.
   The steps are the following:
   - Java side writes data (in batches) to Arrow Flight (working)
   - Python side read the data from Arrow Flight (working)
   - Python side makes some modifications and writes the data back (in batches) 
to Arrow Flight (working)
   - Java reads the data from Arrow Flight (issue happens here)
   
   Data: 10 Millions of rows with 6 columns, size: 500Mb
   
   Error message:
   `org.apache.arrow.flight.FlightRuntimeException: UNAVAILABLE: RST_STREAM 
closed stream. HTTP/2 error code: NO_ERROR    
       at 
org.apache.arrow.flight.CallStatus.toRuntimeException(CallStatus.java:131)
       at 
org.apache.arrow.flight.grpc.StatusUtils.fromGrpcRuntimeException(StatusUtils.java:164)
       at 
org.apache.arrow.flight.grpc.StatusUtils.fromThrowable(StatusUtils.java:185)
       at 
org.apache.arrow.flight.FlightStream$Observer.onError(FlightStream.java:454)
       at org.apache.arrow.flight.FlightClient$1.onError(FlightClient.java:331)
       at 
io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:487)
       at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
       at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
       at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
       at 
org.apache.arrow.flight.grpc.ClientInterceptorAdapter$FlightClientCallListener.onClose(ClientInterceptorAdapter.java:117)
       at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:563)
       at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
       at 
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:744)
       at 
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
       at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
       at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
       at java.base/java.lang.Thread.run(Unknown Source)`
   
   The interesting is that this error comes 6times from 10, 4 times everything 
is fine and Java is able to read the data from Arrow Flight.
   
   Version used: 12.0.1 (both Java and Python side)
   
   Do you have any idea?
   
   Thanks a lot,
   Peter
   
   
   ### Component(s)
   
   FlightRPC, Java, Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to