hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe McDonnell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12714) Hadoop 3 missing fix for HDFS-5169
Date Wed, 25 Oct 2017 22:56:01 GMT
Joe McDonnell created HDFS-12714:

             Summary: Hadoop 3 missing fix for HDFS-5169
                 Key: HDFS-12714
                 URL: https://issues.apache.org/jira/browse/HDFS-12714
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: native
    Affects Versions: 3.0.0-alpha3, 3.0.0-alpha4, 3.0.0-alpha2, 3.0.0-beta1, 3.0.0-alpha1
            Reporter: Joe McDonnell

HDFS-5169 is a fix for a null pointer dereference in translateZCRException. This line in hdfs.c:

ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL, "hadoopZeroCopyRead: ZeroCopyCursor#read
should be:
ret = printExceptionAndFree(env, exc, PRINT_EXC_ALL, "hadoopZeroCopyRead: ZeroCopyCursor#read
Plainly, translateZCRException should print the exception (exc) passed in to the function
rather than the uninitialized local jthr.

The fix for HDFS-5169 (part of HDFS-4949) exists on hadoop 2.* branches, but it is missing
on hadoop 3 branches including trunk.

Hadoop 2.8:

Hadoop 3.0:

This message was sent by Atlassian JIRA

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

View raw message