hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3576) create a configuration key for NameNode default RPC port
Date Thu, 28 Jun 2012 13:18:44 GMT

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

Daryn Sharp commented on HDFS-3576:
-----------------------------------

This patch appears to have just shifted the hardcoded value.  Would it maybe be cleaner to
have a {{Namenode.getDefaultPort()}} to return the value?  That would provided a single point
of change in case we actually want to obtain the default port from the conf as is done for
other ports.
                
> create a configuration key for NameNode default RPC port
> --------------------------------------------------------
>
>                 Key: HDFS-3576
>                 URL: https://issues.apache.org/jira/browse/HDFS-3576
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>            Priority: Minor
>         Attachments: HDFS-3576.patch
>
>
> Currently the default rpc port (8020) is hard coded in NameNode.java, which makes it
inconvenient to locate.

--
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