[ https://issues.apache.org/jira/browse/HADOOP-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated HADOOP-3317:
---------------------------------
Attachment: HADOOP-3317.patch
> A static final in NameNode would be better, but it is a nit.
Good idea. I moved the constant to NameNode.
> The bigger problem is that you don't have any unit tests
Good point. I've added some unit tests.
> The static method NameNode.getUri is passed a NameNode and therefore shouldn't be static.
The parameter is named "namenode" but it's an InetSocketAddress.
> add default port for hdfs namenode
> ----------------------------------
>
> Key: HADOOP-3317
> URL: https://issues.apache.org/jira/browse/HADOOP-3317
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Priority: Minor
> Attachments: HADOOP-3317.patch, HADOOP-3317.patch, HADOOP-3317.patch
>
>
> Perhaps we should add a default port number for the HDFS namenode. This would simplify
URIs. Instead of hdfs://host.net:9999/foo/bar folks would be able to just use hdfs://host.net/foo/bar
in most cases. Thoughts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|