hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11527) Support ServiceLoader mechanism for finding subclasses of AbstractFileSystem.
Date Fri, 30 Jan 2015 17:41:34 GMT
Chris Nauroth created HADOOP-11527:
--------------------------------------

             Summary: Support ServiceLoader mechanism for finding subclasses of AbstractFileSystem.
                 Key: HADOOP-11527
                 URL: https://issues.apache.org/jira/browse/HADOOP-11527
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
            Reporter: Chris Nauroth


Currently, Hadoop code can discover custom implementations of {{FileSystem}} via either configuration
mapping the scheme to the class name or the Java {{ServiceLoader}} mechanism.  However, for
implementations of {{AbstractFileSystem}}, only configuration is supported and not the {{ServiceLoader}}
mechanism.  Because of this, we must either specify the classes in core-default.xml (which
is somewhat unusual because the class is likely to be in a hadoop-tools module instead of
hadoop-common) or ask users to set it in core-site.xml at deployment time.  This issue proposes
to implement the {{ServiceLoader}} mechanism for {{AbstractFileSystem}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message