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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2009/05/22 13:31:45 UTC

[jira] Commented: (HADOOP-5200) NPE when the namenode comes up but the filesystem is set to file://

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

Steve Loughran commented on HADOOP-5200:
----------------------------------------

Yes, this duplicates HADOOP-5687, thanks for committing that


-my code adds a check for FileSystem.getDefaultUri(conf) being null, that could go in on top of what is checked in. It's unlikely, but if you try hard enough, it happens.

-some tests for this would be lightweight and fast. I will write them. 

> NPE when the namenode comes up but the filesystem is set to file://
> -------------------------------------------------------------------
>
>                 Key: HADOOP-5200
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5200
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> If you bring up a namenode and the conf file points to file:/// as the URI, then the authority is null, breaking code that follows

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.