sahilTakiar opened a new pull request #600: HDFS-14348: Fix JNI exception 
handling issues in libhdfs
URL: https://github.com/apache/hadoop/pull/600
 
 
   [HDFS-14348](https://issues.apache.org/jira/browse/HDFS-14348) contains a 
list of all the JNI issues this patch fixes. All of the changes are related to 
proper exception handling when using the JNI library.
   
   Some highlights:
   
   * `hadoopRzOptionsSetByteBufferPool` was changed to add proper exception 
handling for `NewGlobalRef` and to cleanup some of the logic that was missed in 
HDFS-14321
   * `get_current_thread_id` was re-written to use methods from `jni_helper.h` 
rather than using the JNI library directly; this fixes several issues with 
exception handling that were present in the code

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to