hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7661) FileSystem.getCanonicalServiceName throws NPE for any file system uri that doesn't have an authority.
Date Wed, 21 Sep 2011 00:34:08 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109134#comment-13109134
] 

Suresh Srinivas commented on HADOOP-7661:
-----------------------------------------

Can you please add javadoc to the FileSystem method indicating the distinction between local
file systems with no authority and remote file systems with authority and the expected behavior.
We should also consider annotating this method as private in trunk.

> FileSystem.getCanonicalServiceName throws NPE for any file system uri that doesn't have
an authority.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7661
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7661
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7661.20s.1.patch
>
>
> FileSystem.getCanonicalServiceName throws NPE for any file system uri that doesn't have
an authority. 
> ....
> java.lang.NullPointerException
> at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:138)
> at org.apache.hadoop.security.SecurityUtil.buildDTServiceName(SecurityUtil.java:261)
> at org.apache.hadoop.fs.FileSystem.getCanonicalServiceName(FileSystem.java:174)
> ....

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message