You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2014/04/10 23:02:16 UTC
[jira] [Commented] (HADOOP-7661) FileSystem.getCanonicalServiceName
throws NPE for any file system uri that doesn't have an authority.
[ https://issues.apache.org/jira/browse/HADOOP-7661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965845#comment-13965845 ]
Mit Desai commented on HADOOP-7661:
-----------------------------------
This Jira hasn't been updated since a long time. Are we still experiencing this NPE?
> 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, HADOOP-7661.20s.2.patch, HADOOP-7661.20s.3.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 was sent by Atlassian JIRA
(v6.2#6252)