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] Commented: (HADOOP-4383) Add standard interface/methods for all services to query IPC and HTTP addresses and ports
Date Mon, 01 Jun 2009 13:20:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715080#action_12715080
] 

Steve Loughran commented on HADOOP-4383:
----------------------------------------

Jeff, HADOOP-3628 adds a common base class for services, I am busy running the tests to see
that it works with SVN_HEAD. 

The ServiceLocator patten in J2EE is subtly different as J2EE is pretty weak with most aspects
of operations; we also have to deal with the choreography problems of booting a large cluster,
in which the ops team reserve the right to move stuff in order to maintain availability. 

This is something I can help with,  getting that base lifecycle stuff in there would be the
first step. Then we can deal with binding/rebinding and config. Oh, and all the tests. 



> Add standard interface/methods for all services to query IPC and HTTP addresses and ports
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4383
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4383
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs, mapred
>    Affects Versions: 0.20.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> This is something I've ended up doing in subclasses of all the services: methods to get
at the IPC and HTTP port and addresses. Some services have exported methods for this (JobTracker),
others package-private member variables (namenode), while others don't allow you to get at
all the data (Datanode keeps the http server private). 
> A uniform way to query any service for its live port and address values make some aspects
of service management much easier, such as feeding those values in to http page monitoring
tools.

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