ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-10123) BE: provide 'property_value_attributes' in stacks configuration API
Date Wed, 18 Mar 2015 21:24:39 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-10123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmytro Sen updated AMBARI-10123:
--------------------------------
    Attachment:     (was: AMBARI-10123.patch)

> BE: provide 'property_value_attributes' in stacks configuration API
> -------------------------------------------------------------------
>
>                 Key: AMBARI-10123
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10123
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 2.1.0
>
>
> YARN properties should show up in the API as
> {code}
> {
>   "href" : "http://c6401:8080/api/v1/stacks/HDP/versions/2.2/services/YARN/configurations/yarn.scheduler.minimum-allocation-mb",
>   "StackConfigurations" : {
>     "final" : "false",
>     "property_description" : "The minimum allocation for every container request",
>     "property_name" : "yarn.scheduler.minimum-allocation-mb",
>     "property_type" : [ ],
>     "property_value" : "512",// Recommended
>     "property_value_attributes": {
>         "type": "int",
>         "minimum": "512",
>         "maximum": "10240",
>         "unit": "MB"
>     },
>     "property_depended_by": [
>       {
>         "property_type": "hive-site",
>         "property_name": "hive.tez.container.size"
>       },
>       {
>         "property_type": "mapred-site",
>         "property_name": "mapreduce.map.memory.mb"
>       }
>     ],
>     "service_name" : "YARN",
>     "stack_name" : "HDP",
>     "stack_version" : "2.2",
>     "type" : "yarn-site.xml"
>   }
> }
> {code}
>  {{depends_on}} in the stack-definition should be transformed inversely to generate {{property_depended_by}}.



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

Mime
View raw message