hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Kaplan (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-348) fs.default.name default not working
Date Thu, 06 Jul 2006 18:28:29 GMT
fs.default.name default not working
-----------------------------------

         Key: HADOOP-348
         URL: http://issues.apache.org/jira/browse/HADOOP-348
     Project: Hadoop
        Type: Bug

  Components: dfs  
    Reporter: Barry Kaplan
    Priority: Minor


in NameNode:84 and FSNamesystem:176 there is a line:

InetSocketAddress addr = DataNode.createSocketAddr(conf.get("fs.default.name", "local"));

This won't ever work as createSocketAddr first checks to make sure there is a : in the string
to get the server name and port. It is not a super simple fix of just putting in a :50000
(or something like that) because the NameNode constructor allows you to pass in a port that
would need to match the port the in the conf setting. I think the method public NameNode(File
dir, int port, Configuration conf) should simply be deprecated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message