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-10123) BE: provide 'property_value_attributes' in stacks configuration API
Date Fri, 20 Mar 2015 01:36:39 GMT

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

Hudson commented on AMBARI-10123:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2081 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2081/])
AMBARI-10123. BE: provide 'property_value_attributes' in stacks configuration API (dsen via
srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=77f223215cac59305e0718727c33f003ea3b884d)
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-site.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6/services/YARN/configuration/yarn-site.xml
* ambari-server/src/main/java/org/apache/ambari/server/controller/StackConfigurationResponse.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackConfigurationResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/state/PropertyInfo.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/StackLevelConfigurationResponse.java
* ambari-server/src/main/resources/properties.json
* ambari-server/src/test/java/org/apache/ambari/server/state/PropertyInfoTest.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration-mapred/mapred-site.xml
* ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
* ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java
* ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackLevelConfigurationResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/state/PropertyDependencyInfo.java


> 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)

Mime
View raw message