Laszlo Gaal created IMPALA-13199:
------------------------------------

             Summary: CLUSTER_TESTS on JDK11 failing with not being able to 
restart HMS
                 Key: IMPALA-13199
                 URL: https://issues.apache.org/jira/browse/IMPALA-13199
             Project: IMPALA
          Issue Type: Bug
    Affects Versions: Impala 4.5.0
            Reporter: Laszlo Gaal
            Assignee: Michael Smith


The weekly test run on JDK 11 has been failing at least since August. Most 
failures happen during custom cluster tests, where multiple attempts to restart 
HSM fail with the following symptoms:
Python backtrace:
{code}
common/custom_cluster_test_suite.py:174: in setup_method
    self._start_hive_service(method.__dict__[HIVE_CONF_DIR])
common/custom_cluster_test_suite.py:281: in _start_hive_service
    raise RuntimeError("Unable to start Hive")
E   RuntimeError: Unable to start Hive
{code}
Console log:
{code}
08:28:30.546 --------------------------- Captured stderr teardown 
---------------------------
08:28:30.546 -- closing connection to: localhost:21000
08:28:30.546 -- closing connection to: localhost:21050
08:28:30.546 -- closing connection to: localhost:28000
08:28:30.546 Picked up JAVA_TOOL_OPTIONS:  
--add-opens=java.base/java.io=ALL-UNNAMED 
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED 
--add-opens=java.base/java.lang.module=ALL-UNNAMED 
--add-opens=java.base/java.lang.ref=ALL-UNNAMED 
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED 
--add-opens=java.base/java.lang=ALL-UNNAMED 
--add-opens=java.base/java.net=ALL-UNNAMED 
--add-opens=java.base/java.nio.charset=ALL-UNNAMED 
--add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED 
--add-opens=java.base/java.nio=ALL-UNNAMED 
--add-opens=java.base/java.security=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED 
--add-opens=java.base/java.util.jar=ALL-UNNAMED 
--add-opens=java.base/java.util.regex=ALL-UNNAMED 
--add-opens=java.base/java.util.zip=ALL-UNNAMED 
--add-opens=java.base/java.util=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.math=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.module=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.perf=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.platform=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.platform.cgroupv1=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED 
--add-opens=java.base/jdk.internal.util.jar=ALL-UNNAMED 
--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED 
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED 
--add-opens=java.base/sun.nio.fs=ALL-UNNAMED 
--add-opens=jdk.dynalink/jdk.dynalink.beans=ALL-UNNAMED 
--add-opens=jdk.dynalink/jdk.dynalink.linker.support=ALL-UNNAMED 
--add-opens=jdk.dynalink/jdk.dynalink.linker=ALL-UNNAMED 
--add-opens=jdk.dynalink/jdk.dynalink.support=ALL-UNNAMED 
--add-opens=jdk.dynalink/jdk.dynalink=ALL-UNNAMED 
--add-opens=jdk.management.jfr/jdk.management.jfr=ALL-UNNAMED 
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED  
-javaagent:/home/ubuntu/Impala/fe/target/dependency/jamm-0.4.0.jar
08:28:30.546 WARNING: Unknown module: jdk.dynalink specified to --add-opens
08:28:30.546 WARNING: Unknown module: jdk.dynalink specified to --add-opens
08:28:30.546 WARNING: Unknown module: jdk.dynalink specified to --add-opens
08:28:30.546 WARNING: Unknown module: jdk.dynalink specified to --add-opens
08:28:30.546 WARNING: Unknown module: jdk.dynalink specified to --add-opens
08:28:30.546 Exception in thread "main" java.lang.NoClassDefFoundError: 
sun/misc/Unsafe
08:28:30.546    at org.github.jamm.VM.loadUnsafe(VM.java:213)
08:28:30.546    at org.github.jamm.VM.<clinit>(VM.java:26)
08:28:30.546    at 
org.github.jamm.accessors.FieldAccessor.newInstance(FieldAccessor.java:36)
08:28:30.546    at org.github.jamm.MemoryMeter.<clinit>(MemoryMeter.java:184)
08:28:30.546    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:28:30.546    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
08:28:30.546    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:28:30.546    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
08:28:30.546    at 
java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
08:28:30.546    at 
java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
08:28:30.546 Caused by: java.lang.ClassNotFoundException: sun.misc.Unsafe
08:28:30.546    at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
08:28:30.546    at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
08:28:30.546    at 
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
08:28:30.546    ... 10 more
08:28:30.546 *** java.lang.instrument ASSERTION FAILED ***: "result" with 
message agent load/premain call failed at 
src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422
08:28:30.546 ___ ERROR at setup of 
TestCustomHiveConfigs.test_ctas_read_write_consistence ___
08:28:30.546 common/custom_cluster_test_suite.py:174: in setup_method
08:28:30.546     self._start_hive_service(method.__dict__[HIVE_CONF_DIR])
08:28:30.546 common/custom_cluster_test_suite.py:281: in _start_hive_service
08:28:30.546     raise RuntimeError("Unable to start Hive")
08:28:30.546 E   RuntimeError: Unable to start Hive
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to