[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551925#comment-13551925 ] Hudson commented on HDFS-4384: -- Integrated in Hadoop-Mapreduce-trunk #1311 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1311/]) HDFS-4384. test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized. Contributed by Colin Patrick McCabe (Revision 1432221) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1432221 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/native_mini_dfs.c > 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 > Fix For: 2.0.3-alpha > > 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551917#comment-13551917 ] Hudson commented on HDFS-4384: -- Integrated in Hadoop-Hdfs-trunk #1283 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1283/]) HDFS-4384. test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized. Contributed by Colin Patrick McCabe (Revision 1432221) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1432221 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/native_mini_dfs.c > 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 > Fix For: 2.0.3-alpha > > 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551884#comment-13551884 ] Hudson commented on HDFS-4384: -- Integrated in Hadoop-Yarn-trunk #94 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/94/]) HDFS-4384. test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized. Contributed by Colin Patrick McCabe (Revision 1432221) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1432221 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/native_mini_dfs.c > 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 > Fix For: 2.0.3-alpha > > 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551392#comment-13551392 ] Hudson commented on HDFS-4384: -- Integrated in Hadoop-trunk-Commit #3219 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3219/]) HDFS-4384. test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized. Contributed by Colin Patrick McCabe (Revision 1432221) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1432221 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/native_mini_dfs.c > 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 > Fix For: 2.0.3-alpha > > 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551372#comment-13551372 ] Eli Collins commented on HDFS-4384: --- Makes sense. +1 > 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550722#comment-13550722 ] Hadoop QA commented on HDFS-4384: - {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12564290/HDFS-4384.001.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3818//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3818//console This message is automatically generated. > 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ 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
[jira] [Commented] (HDFS-4384) test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized
[ https://issues.apache.org/jira/browse/HDFS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550581#comment-13550581 ] Eli Collins commented on HDFS-4384: --- Given that the error case also returns null (and free(cl) is safe when cl is null), the DeleteLocalRefs are causing the segv? If so should they be guarded instead since other error cases would hit the same? > 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