ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <>
Subject [jira] [Created] (AMBARI-6281) Provide 'properties_attributes' property on configuration provided by /api/v1/configurations
Date Thu, 26 Jun 2014 02:49:24 GMT
Srimanth Gunturi created AMBARI-6281:

             Summary: Provide 'properties_attributes' property on configuration provided by
                 Key: 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
  "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”

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

Configuration attributes would be persisted in the config_attributes column as 
  “final”: {
    “fs.defaultFS”: “true”, 
    “hadoop.proxyuser.falcon.groups”: “true”

This message was sent by Atlassian JIRA

View raw message