Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Impala 3.0, Impala 3.1.0, Impala 3.2.0, Impala 4.0.0, Impala 3.3.0, Impala 3.4.0, Impala 4.1.0, Impala 4.2.0
-
None
-
None
-
ghx-label-2
Description
During stress testing, an anomalous behavior was observed: deserialization failures leading to SQL execution failures.
After multiple tests, three failure scenarios were identified:
- InternalException: couldn't execute a batch of exprs. The root cause is TProtocolException: Unrecognized type 97.
- InternalException: couldn't execute a batch of exprs. The root cause is TTransportException: Cannot read. Remote side has closed. Tried to read 1 bytes, but only got 0 bytes.
- JVM core dump, with the root cause being G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x263.
By extracting a minimal test case, the above errors could be reproduced, ultimately indicating that the object returned by the native method in the Java code JNI invocation was prematurely gc.
The hs_err and log are attached.