hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
Date Fri, 11 Jan 2013 02:27:11 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550715#comment-13550715
] 

Colin Patrick McCabe commented on HDFS-4384:
--------------------------------------------

It's simpler than that.  (*env)->DeleteLocalRefs(...) fails because env is {{NULL}}.  The
other error cases don't have this problem.
                
> test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
> ---------------------------------------------------------------
>
>                 Key: HDFS-4384
>                 URL: https://issues.apache.org/jira/browse/HDFS-4384
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 2.0.3-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-4384.001.patch
>
>
> test_libhdfs_threaded gets a SEGV if JNIEnv cannot be initialized.  This is incorrect;
it should instead exit with a nice error message in this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message