You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/03/13 14:32:24 UTC

[GitHub] [hadoop] sahilTakiar opened a new pull request #600: HDFS-14348: Fix JNI exception handling issues in libhdfs

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org