You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2015/03/18 17:46:38 UTC
[jira] [Updated] (AMBARI-10123) BE: provide
'property_value_attributes' in stacks configuration API
[ https://issues.apache.org/jira/browse/AMBARI-10123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Sen updated AMBARI-10123:
--------------------------------
Attachment: 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
>
> Attachments: AMBARI-10123.patch
>
>
> 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)