Skip to content

hive docker container crash for integration test on M1 #835

@kevinjqliu

Description

@kevinjqliu

Apache Iceberg version

None

Please describe the bug 🐞

While running integration tests on M1 mac, the hive container will crash randomly with a JVM error message.
Sometimes, restarting the container works.

Stacktrace

2024-06-18 22:58:18 /entrypoint.sh: line 26:     8 Aborted                 $HIVE_HOME/bin/schematool -dbType $DB_DRIVER -initSchema
2024-06-18 22:58:18 + '[' 134 -eq 0 ']'
2024-06-18 22:58:18 + echo 'Schema initialization failed!'
2024-06-18 22:58:18 + exit 1
2024-06-18 22:58:18 #
2024-06-18 22:58:18 # A fatal error has been detected by the Java Runtime Environment:
2024-06-18 22:58:18 #
2024-06-18 22:58:18 #  SIGBUS (0x7) at pc=0x00007ffffecc383f, pid=8, tid=0x00007ffffe26a700
2024-06-18 22:58:18 #
2024-06-18 22:58:18 # JRE version: OpenJDK Runtime Environment (8.0_342-b07) (build 1.8.0_342-b07)
2024-06-18 22:58:18 # Java VM: OpenJDK 64-Bit Server VM (25.342-b07 mixed mode linux-amd64 compressed oops)
2024-06-18 22:58:18 # Problematic frame:
2024-06-18 22:58:18 # V  [libjvm.so+0x91483f]  ObjectMonitor::enter(Thread*)+0x3f
2024-06-18 22:58:18 #
2024-06-18 22:58:18 # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
2024-06-18 22:58:18 #
2024-06-18 22:58:18 # An error report file with more information is saved as:
2024-06-18 22:58:18 # /opt/hive/hs_err_pid8.log
2024-06-18 22:58:18 #
2024-06-18 22:58:18 # If you would like to submit a bug report, please visit:
2024-06-18 22:58:18 #   http://bugreport.java.com/bugreport/crash.jsp
2024-06-18 22:58:18 #
2024-06-18 22:58:18 Schema initialization failed!

Possibly related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions