hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
Date Thu, 23 Mar 2017 05:24:41 GMT

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

Ravi Prakash commented on HADOOP-14213:

Thanks Jeagles!

# typo : "hadoop-site.xml.xml" -> "hadoop-site.xml" ??
# I'm sorry! Could you please elaborate how core-site would take precedence over hadoop-site
still? It seems like hadoop-site would override the attributes in core-site, right?

> Move Configuration runtime check for hadoop-site.xml to initialization
> ----------------------------------------------------------------------
>                 Key: HADOOP-14213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14213
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: HADOOP-14213.1.patch
> Each Configuration object that loads defaults checks for hadoop-site.xml. It has been
long deprecated and is not present in most if not nearly all installations. The getResource
check for hadoop-site.xml has to check the entire classpath since it is not found. This jira
proposes to 1) either remove hadoop-site.xml as a default resource or 2) move the check to
static initialization of the class so the performance hit is only taken once.

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