Swapan Shridhar created AMBARI-18345:
----------------------------------------

             Summary: 'Stack advisor' validation code reports error while 
trying to access "yarn.nodemanager.resource.memory-mb" config.
                 Key: AMBARI-18345
                 URL: https://issues.apache.org/jira/browse/AMBARI-18345
             Project: Ambari
          Issue Type: Bug
            Reporter: Swapan Shridhar
            Assignee: Swapan Shridhar


'Stack advisor' validation code reports error while trying to access 
"yarn.nodemanager.resource.memory-mb" config.

Reason: 
- Fn. 'validateHiveInteractiveSiteConfigurations' tried to query for config 
'yarn.nodemanager.resource.memory-mb'. The config may not be passed in 
services[configurations], depending on which action triggered the validation. 
- Fn. 'validateHiveInteractiveSiteConfigurations' was broken because it was 
trying to query config 'yarn.nodemanager.resource.memory-mb', without checking 
whether HSI is installed or not.

Fix: Moved the ''yarn.nodemanager.resource.memory-mb'' config query code once 
we have checked the presence of HSI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to