You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/06/27 04:20:24 UTC
[jira] [Commented] (AMBARI-6281) Provide 'properties_attributes'
property on configuration provided by /api/v1/configurations
[ 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)