[
https://issues.apache.org/jira/browse/HDFS-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609832#comment-13609832
]
Andrew Wang commented on HDFS-4626:
-----------------------------------
Great, was unaware of the JIRA-fu.
I believe the test failures are unrelated, considering that we had a clean test
run before, and that those tests are known to be flaky. Thanks again for the
reviews.
> 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
>
>
> {{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