hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2358) NPE when the default filesystem's uri has no authority
Date Wed, 05 Oct 2011 20:48:29 GMT

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

Daryn Sharp commented on HDFS-2358:
-----------------------------------

     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler
warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9)
warnings.
     [exec] 

                
> NPE when the default filesystem's uri has no authority
> ------------------------------------------------------
>
>                 Key: HDFS-2358
>                 URL: https://issues.apache.org/jira/browse/HDFS-2358
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.204.0
>            Reporter: Rajit Saha
>            Assignee: Daryn Sharp
>         Attachments: HDFS-2358.patch
>
>
> in core-site.xml if default filesystem's uri is misconfigured , NN does not come up and
in NN shows NPE
> java.lang.NullPointerException
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:142)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:195)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:225)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:259)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:458)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1226)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1235)
> It is better to give meaningful error messege than NPE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message