hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7077) Use Java's ServiceLoader to add default resources to Configuration
Date Thu, 13 Jan 2011 17:05:48 GMT

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

Doug Cutting commented on HADOOP-7077:
--------------------------------------

Generally the first time someone attaches a patch to an issue in the project, a committer
will then give them permission to be assigned issues (the "contributor" role in jira) and
assign them the issue.  After that they can assign themselves.

Just go ahead and start working on a patch.  Because of your comment above, anyone else interested
in working on this will know that you already intend to.

> Use Java's ServiceLoader to add default resources to Configuration
> ------------------------------------------------------------------
>
>                 Key: HADOOP-7077
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7077
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf
>            Reporter: Tom White
>
> Currently each class with a main() method (in HDFS and MapReduce) calls Configuration.addDefaultResource()
to add the names of resource files to load (e.g. see DataNode and NameNode which both add
hdfs-default.xml and hdfs-site.xml). We could reduce the code duplication by allowing the
use of [java.util.ServiceLoader|http://download.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html]
to do the initialization.

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


Mime
View raw message