hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-4324) Need a way to get the inforserver port of a name node
Date Wed, 01 Oct 2008 15:59:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-4324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran resolved HADOOP-4324.
------------------------------------

    Resolution: Invalid

looking in the wrong place; getInfoPort() does it. It may still be useful to push out to the
Conf instance though.

> Need a way to get the inforserver port of a name node
> -----------------------------------------------------
>
>                 Key: HADOOP-4324
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4324
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.20.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> To test that services shut down cleanly, I need to know the port that the namenode brings
up an info server on, which means that its assigned port value needs to be exported from the
namesystem.
> I can see two ways to do this, and wish some recommendations of the best approach
> 1.  extract the port value when the FSNameSystem comes up, and add it to that classes
Conf; add a method to get that Conf so that its state can be read.
> 2.  save the port value to a member variable in FSNameSystem and provide a public method
to get at it.
> My preference is for #1, as it is consistent with how the NameNode saves its port value,
and doesn't change any APIs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message