hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15302) Enable DataNode/NameNode service plugins with Service Provider interface
Date Sat, 10 Mar 2018 12:00:00 GMT

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

Elek, Marton commented on HADOOP-15302:

Good question: but the current behaviour is not changed:

1. In case of an execption in the constructor of the plugin datanode/namenode can't be started
2. In case of an exception in the start method LOG.warn is used (with the plugin name and
exception) but the datanode/namenode will be started.

> Enable DataNode/NameNode service plugins with Service Provider interface
> ------------------------------------------------------------------------
>                 Key: HADOOP-15302
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15302
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>         Attachments: HADOOP-15302.001.patch
> HADOOP-5257 introduced ServicePlugin capabilities for NameNode/DataNode. As of now they
could be activated by configuration values. 
> I propose to activate plugins with Service Provider Interface. In case of a special service
file is added a jar it would be enough to add the plugin to the classpath. It would help to
add optional components to NameNode/DataNode with settings the classpath.
> This is the same api which could be used in java 9 to consume defined services.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message