hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Wyckoff (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3969) Provide Mechanism to optionally expose public org.apache.hadoop.util.Services APIs
Date Tue, 19 Aug 2008 00:33:44 GMT
Provide Mechanism to optionally expose public org.apache.hadoop.util.Services APIs 

                 Key: HADOOP-3969
                 URL: https://issues.apache.org/jira/browse/HADOOP-3969
             Project: Hadoop Core
          Issue Type: New Feature
            Reporter: Pete Wyckoff

Enhance manageability of Hadoop Services by providing Jute, Thrift, REST, ... APIs to select
methods in the Service class (or potentially others).
This will allow external tools written in a myriad of languages to query the state of Hadoop
Servers and/or interact with them.

This can be encapsulated in the Service class by defining a very simple interface and then
optionally instantiating such an implementation provided in the Configuration.

Some methods to be implemented include all the public methods in Service:



package org.apache.hadoop.util;

public interface ExposeServiceAPIs {

   * @param service - the service whose APIs are to be exposed
  * @param  serviceName - a symbolic name for the service
  * @param configuration - the hadoop configuration object
  public void initialize(Service service, String serviceName, Configuration conf) throws IOException,
  public boolean start();
  public boolean stop();
} ;

Two straightforward implementations of this would be:

1. Servlet that exposes the APIs via REST
2. Thrift DDL of the service APIs and an implementation in Java + bindings in C++, Java, Perl,
Python, Ruby, PHP

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

View raw message