[
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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]