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

Steve Loughran updated HADOOP-6194:
-----------------------------------

    Attachment: HADOOP-6194.patch

This is the most recent version of the lifecycle/service base class for 
hadoop-common

# Named {{HadoopService}} so that the Service in the security package doesn't 
cause confusion
# the protected methods are {{serviceStart}} and {{serviceClose{{
# Anything purely of interest to those nodes that have workers is in the 
abstract subclass {{HadoopServiceWithWorkers}}. Currently there's just one 
abstract method to return the no of workers, though I'd like there to be a 
standard way to get the list of  workers and ports and last reported time, 
which we could then feed to management tools and a standard servlet that would 
report this up. That is future work, these base classes just set things up.



> Add service base class and tests to hadoop-common/util
> ------------------------------------------------------
>
>                 Key: HADOOP-6194
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6194
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6194-1.patch, HADOOP-6194.patch
>
>
> For a service base class, we need to add to common
> # The Service class
> # A mock Service class (it's not in test, its in src/, because it helps in 
> functional tests downstream)
> # Unit tests
> This is the issue to cover this work

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

Reply via email to