ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-6281) Provide 'properties_attributes' property on configuration provided by /api/v1/configurations
Date Fri, 27 Jun 2014 02:20:24 GMT

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

Srimanth Gunturi commented on AMBARI-6281:
------------------------------------------

Review request at https://reviews.apache.org/r/23002/

> Provide 'properties_attributes' property on configuration provided by /api/v1/configurations
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-6281
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6281
>             Project: Ambari
>          Issue Type: Task
>          Components: client
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>
> When a call is made to 
> {{GET http://server:8080/api/v1/clusters/c1/configurations?type=core-site&tag=version1}},
the response should include attributes of various properties also
> {code}
> {
>   "tag": "version1",
>   "type": "core-site",
>   "properties": {
>     "fs.defaultFS": "hdfs://server:8020",
>     "fs.trash.interval": "360",
>     "hadoop.proxyuser.falcon.groups": "users",
>     ...
>     "mapreduce.jobtracker.webinterface.trusted": "false"
>   },
>   “properties_attributes”: {
>     “final”: {
>      "fs.defaultFS": “true”, 
>      "hadoop.proxyuser.falcon.groups": “true”
>     },
>   }
> }
> {code}
> This should support POST and PUT calls to update 'properties_attributes' of configs.
> Table {{ambari:clusterconfig}} will have new column called {{config_attributes}}. This
column will be of type varchar of size 32K. It will contain a serialized JSON object where
key is the attribute name, and value is an object containing config-names as keys along with
attribute values.
> Example: 
> Configuration attributes would be persisted in the config_attributes column as 
> {code}
> {
>   “final”: {
>     “fs.defaultFS”: “true”, 
>     “hadoop.proxyuser.falcon.groups”: “true”
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message