Shwetha G S created OOZIE-2058:
----------------------------------
Summary: Configs from oozie-site are not loaded
Key: OOZIE-2058
URL: https://issues.apache.org/jira/browse/OOZIE-2058
Project: Oozie
Issue Type: Bug
Reporter: Shwetha G S
Priority: Critical
{code}
ConfigurationService.loadConf():
XConfiguration siteConfiguration = loadConfig(inputStream,
false);
XConfiguration.injectDefaults(configuration, siteConfiguration);
XConfiguration:
public static void injectDefaults(Configuration source, Configuration
target) {
if (source != null) {
for (Map.Entry<String, String> entry : source) {
if (target.get(entry.getKey()) == null) {
target.set(entry.getKey(), entry.getValue());
}
}
}
}
{code}
Since oozie-default.xml has all the default values, none of the properties will
be null and hence no property from oozie-site.xml will be loaded
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)