hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4626) Fix NullPointerException in getLinkTarget
Date Wed, 12 Jun 2013 20:26:22 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Wang updated HDFS-4626:
------------------------------

    Attachment: hdfs-4626-1.patch

Rebased on trunk. Hoping I can squeeze a commit from [~cmccabe] or [~shv] :)
                
> Fix NullPointerException in getLinkTarget
> -----------------------------------------
>
>                 Key: HDFS-4626
>                 URL: https://issues.apache.org/jira/browse/HDFS-4626
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Minor
>         Attachments: hadoop-9415-1.patch, hadoop-9415-2.patch, hadoop-9415-3.patch, hdfs-4626-1.patch
>
>
> {{HdfsFileStatus#getLinkTarget}} can throw a NPE in {{DFSUtil#bytes2String}} if {{symlink}}
is null. Better to instead return null and propagate this to the client.

--
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