hadoop/hadoop-hdfs-project
Babneet Singh 1996351b0b
HDFS-15270. Account for *env == NULL in hdfsThreadDestructor (#1951)
OpenJ9 JVM properly terminates the thread before hdfsThreadDestructor is
invoked. JNIEnv is a mirror of J9VMThread in OpenJ9. After proper thread
termination, accessing JNIEnv in hdfsThreadDestructor (*env)->GetJavaVM,
yields a SIGSEGV since *env is NULL after thread cleanup is performed.

The main purpose of hdfsThreadDestructor is to invoke
DetachCurrentThread, which performs thread cleanup in OpenJ9. Since
OpenJ9 performs thread cleanup before hdfsThreadDestructor is invoked,
hdfsThreadDestructor should account for *env == NULL and skip
DetachCurrentThread.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
2020-05-04 13:08:53 -07:00
..
hadoop-hdfs HDFS-15323. StandbyNode fails transition to active due to insufficient transaction tailing. Contributed by Konstantin V Shvachko. 2020-05-04 10:29:50 -07:00
hadoop-hdfs-client SPNEGO TLS verification 2020-05-02 21:50:13 +09:00
hadoop-hdfs-httpfs HADOOP-17011. Tolerate leading and trailing spaces in fs.defaultFS. Contributed by Ctest 2020-04-30 14:15:28 -07:00
hadoop-hdfs-native-client HDFS-15270. Account for *env == NULL in hdfsThreadDestructor (#1951) 2020-05-04 13:08:53 -07:00
hadoop-hdfs-nfs Preparing for 3.4.0 development 2020-03-29 23:24:25 +05:30
hadoop-hdfs-rbf HDFS-14742. RBF: TestRouterFaultTolerant tests are flaky 2020-04-20 08:41:18 -07:00
pom.xml Preparing for 3.4.0 development 2020-03-29 23:24:25 +05:30