Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.