You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/03/19 04:37:15 UTC

[jira] [Created] (HADOOP-9415) Fix NullPointerException in getLinkTarget

Andrew Wang created HADOOP-9415:
-----------------------------------

             Summary: Fix NullPointerException in getLinkTarget
                 Key: HADOOP-9415
                 URL: https://issues.apache.org/jira/browse/HADOOP-9415
             Project: Hadoop Common
          Issue Type: Sub-task
    Affects Versions: 3.0.0
            Reporter: Andrew Wang
            Priority: Minor


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