[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936745#comment-15936745 ]
Allen Wittenauer commented on HADOOP-14213: ------------------------------------------- bq. It has been long deprecated and is not present in most if not nearly all installations. We just need to be cognizant of the fact that... bq. remove hadoop-site.xml as a default resource ... is an incompatible change which couldn't go into branch-2. (FWIW, I'll raise my hand as one of the folks who still uses hadoop-site.xml on occasion for non-prod installs since it's easier than dealing with the complete mess that happened after the project split.) > 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 > > 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 (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org