[
https://issues.apache.org/jira/browse/AMBARI-10344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394577#comment-14394577
]
Hudson commented on AMBARI-10344:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2196 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2196/])
AMBARI-10344 Min/Max/Step/etc from '/recommendations' API should override
'/stacks' data. (ababiichuk) (ababiichuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0055b86bfa5a2b3d498dacd5d8440df6a3aa201f)
* ambari-web/app/mixins/common/configs/enhanced_configs.js
* ambari-web/app/mixins/common/serverValidator.js
* ambari-web/app/views/common/controls_view.js
* ambari-web/app/views/common/configs/widgets/config_widget_view.js
> Min/Max/Step/etc from '/recommendations' API should override '/stacks' data
> ---------------------------------------------------------------------------
>
> Key: AMBARI-10344
> URL: https://issues.apache.org/jira/browse/AMBARI-10344
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.1.0
> Reporter: Andrii Babiichuk
> Assignee: Andrii Babiichuk
> Fix For: 2.1.0
>
> Attachments: AMBARI-10344.patch
>
>
> Enhanced config {{yarn.nodemanager.resource.memory-mb}} has a maximum value
> of {{268435456 MB}} which comes from the static stack-definition of the
> config. However the real maximum of this config is given by the
> /recommendations call - which calculates it based on the machine's actual
> memory.
> {code}
> "yarn-site" : {
> "properties" : {
> "yarn.scheduler.minimum-allocation-mb" : "682",
> "yarn.scheduler.maximum-allocation-mb" : "2048",
> "yarn.nodemanager.resource.cpu-vcores" : "2",
> "yarn.nodemanager.resource.memory-mb" : "2048"
> },
> "property_attributes" : {
> "yarn.scheduler.minimum-allocation-vcores" : {
> "max" : "2"
> },
> "yarn.scheduler.maximum-allocation-vcores" : {
> "max" : "2"
> },
> "yarn.nodemanager.resource.memory-mb" : {
> "max" : "2887"
> },
> "yarn.scheduler.minimum-allocation-mb" : {
> "max" : "2048"
> },
> "yarn.nodemanager.resource.cpu-vcores" : {
> "max" : "4"
> },
> "yarn.scheduler.maximum-allocation-mb" : {
> "max" : "2048"
> }
> }
> }
> {code}
> Wherever configs are shown (installer, service-config, host-page,
> add-service, etc.), we need to override the static stack-default
> property_attributes with the /recommendations given property_attributes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)