[ https://issues.apache.org/jira/browse/HADOOP-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HADOOP-348. ------------------------------------------- Resolution: Invalid This issue is no longer valid. > fs.default.name default not working > ----------------------------------- > > Key: HADOOP-348 > URL: https://issues.apache.org/jira/browse/HADOOP-348 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Reporter: Barry Kaplan > Assignee: Sameer Paranjpye > 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. - You can reply to this email to add a comment to the issue online.