ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10589) BE: Stack advisor endpoints should support config-groups specific calls
Date Mon, 20 Apr 2015 21:10:59 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-10589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503626#comment-14503626
] 

Hudson commented on AMBARI-10589:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2376 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2376/])
AMBARI-10589. BE: Stack advisor endpoints should support config-groups specific calls - reverting
enhanced-configs enablement (srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6d3570c0507db1868beab7118683524b2079dcf6)
* ambari-web/app/config.js


> BE: Stack advisor endpoints should support config-groups specific calls
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-10589
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10589
>             Project: Ambari
>          Issue Type: Task
>          Components: contrib
>    Affects Versions: 2.1.0
>            Reporter: Srimanth Gunturi
>            Assignee: Dmytro Sen
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10589.patch
>
>
> The {{/recommendations}} and {{/validations}} endpoints should support actions "configurations",
"configuration-dependencies" and "component-layout" for config-groups. This involves making
the calculations for defaults and validations, using only the hosts for that config-group.
> {code}
>  "changed_configurations": [
>     {
>       "type": "yarn-site",
>       "name": "yarn.scheduler.minimum-allocation-mb"
>     }
>   ],
>   "recommendations": {
>     "config_groups": [
>       {
>         "configurations": [
>           {
>             "yarn-site": {
>               "properties": {
>                 "yarn.scheduler.minimum-allocation-mb": "1024"
>               }
>             }
>           }
>         ],
>         "hosts": [
>           "tick-2.c.pramod-thangali.internal",
>           "tick-3.c.pramod-thangali.internal"
>         ]
>       }
>     ],
>     "blueprint": { ... }
>     "blueprint_cluster_binding": { ... }
> {code}
> API has to check the presence of {{config_groups}} in the "recommendations" bag, and
use only those hosts for calculations. The response would return the changes inside the same
{{config_groups}} object as written in document. The inner property {{configurations}} contains
changes local to the config-group. The inner property {{dependent_configurations}} contains
changes outside of the config-group.
> {code}
>       "recommendations": {
>         "config_groups": [
>           {
>             "configurations": [
>               {
>                 "yarn-site": {
>                   "properties": {
>                     "yarn.scheduler.minimum-allocation-mb": "1024"
>                   },
>                   "property_attributes": {
>                     "yarn.scheduler.minimum-allocation-mb": {
>                       "max": "2048"
>                     }
>                   }
>                 }
>               }
>             ],
>             "dependent_configurations": [
>               {
>                 "mapred-site": {
>                   "properties": {
>                     "mapreduce.map.memory.mb": "975",
>                     "mapreduce.reduce.memory.mb": "1950",
>                     "yarn.app.mapreduce.am.command-opts": "-Xmx780m -Dhdp.version=${hdp.version}",
>                     "mapreduce.reduce.java.opts": "-Xmx1560m",
>                     "yarn.app.mapreduce.am.resource.mb": "975",
>                     "mapreduce.map.java.opts": "-Xmx780m",
>                     "mapreduce.task.io.sort.mb": "682"
>                   },
>                   "property_attributes": {
>                     "mapreduce.reduce.memory.mb": {
>                       "max": "2048",
>                       "min": "975"
>                     },
>                     "mapreduce.map.memory.mb": {
>                       "max": "2048",
>                       "min": "975"
>                     },
>                     "yarn.app.mapreduce.am.resource.mb": {
>                       "max": "2048",
>                       "min": "975"
>                     }
>                   }
>                 }
>               }
>             ],
>             "hosts": [
>               "tick-2.c.pramod-thangali.internal",
>               "tick-3.c.pramod-thangali.internal"
>             ]
>           }
>         ],
>         "blueprint": { ... }
>         "blueprint_cluster_binding": { ... }
> {code}



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

Mime
View raw message