apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.99k stars 312 forks source link

fix(hdfs): export LIBHDFS_OPTS=-Xrs to ensure server could exit normally #1911

Closed acelyc111 closed 9 months ago

acelyc111 commented 9 months ago

Resolve https://github.com/apache/incubator-pegasus/issues/1913.

Reduces the use of operating system signals by the JVM by exporting LIBHDFS_OPTS="-Xrs" to resolve the issue of unexpected exit order of JVM threads and Pegasus threads. See details: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html