[jira] [Updated] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HADOOP-14213: - Fix Version/s: (was: 3.0.0-beta1) 3.0.0-alpha3 > 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 >Affects Versions: 2.8.0 >Reporter: Jonathan Eagles >Assignee: Jonathan Eagles > Fix For: 2.9.0, 3.0.0-alpha3 > > Attachments: HADOOP-14213.1.patch, HADOOP-14213.2.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 (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
[jira] [Updated] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Prakash updated HADOOP-14213: -- Resolution: Fixed Release Note: Move the check for hadoop-site.xml to static initialization of the Configuration class. Status: Resolved (was: Patch Available) > 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 >Affects Versions: 2.8.0 >Reporter: Jonathan Eagles >Assignee: Jonathan Eagles > Fix For: 2.9.0, 3.0.0-beta1 > > Attachments: HADOOP-14213.1.patch, HADOOP-14213.2.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 (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
[jira] [Updated] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Prakash updated HADOOP-14213: -- Affects Version/s: 2.8.0 Target Version/s: 2.9.0, 3.0.0-beta1 Fix Version/s: 3.0.0-beta1 2.9.0 > 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 >Affects Versions: 2.8.0 >Reporter: Jonathan Eagles >Assignee: Jonathan Eagles > Fix For: 2.9.0, 3.0.0-beta1 > > Attachments: HADOOP-14213.1.patch, HADOOP-14213.2.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 (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
[jira] [Updated] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Eagles updated HADOOP-14213: - Attachment: HADOOP-14213.2.patch Wow. Good, catch. Thanks, [~raviprak]. > 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, HADOOP-14213.2.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 (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
[jira] [Updated] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Eagles updated HADOOP-14213: - Status: Patch Available (was: Open) > 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 (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
[jira] [Updated] (HADOOP-14213) Move Configuration runtime check for hadoop-site.xml to initialization
[ https://issues.apache.org/jira/browse/HADOOP-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Eagles updated HADOOP-14213: - Attachment: HADOOP-14213.1.patch > 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 (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