ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddharth Wagle <swa...@hortonworks.com>
Subject Re: Ambari Tracking configuration changes
Date Fri, 07 Nov 2014 20:33:52 GMT
Hi Iva,

Correctly specifying type and tag will get you the key values that you are
looking for.

You might find it useful to download a JsonViewer app (if using
Chrome/Firefox) and effectively just click on the config hrefs to navigate
to the key/value properties.

-Sid

On Fri, Nov 7, 2014 at 12:07 PM, P lva <ruvikal@gmail.com> wrote:

> Myroslav,
>
> Thanks for your prompt response.
>
> I tried this
>
> GET /api/v1/clusters/c1/configurations and its lists all the available
> configurations
>
> {
>       "href" : "",
>       "tag" : "",
>       "type" : "core-site",
>       "Config" : {
>         "cluster_name" : "c1"
>       }
>
> However when i add the type and tag, I get the available tags for that
> type and not the key value pairs for the particular tag itself.
>
> /api/v1/clusters/c1/configurations?type=global&tag=version1415118510909
>
> I'm using Ambari 1.6 .1.
>
> Thanks again
>
> On Fri, Nov 7, 2014 at 11:41 AM, Myroslav Papyrkovskyy <
> mpapyrkovskyy@hortonworks.com> wrote:
>
>> Hello,
>> I'm pretty sure you can.
>> Sample request:
>> GET /api/v1/clusters/c1/configurations?type=yarn-site&tag=version13456
>> You can find more details here:
>>
>> https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/configuration.md
>>
>> Regards,
>> Myroslav
>>
>> On Fri, Nov 7, 2014 at 6:53 PM, P lva <ruvikal@gmail.com> wrote:
>>
>>> Is there any way to track configuration changes in ambari 1.6.
>>> The change log has version information.  Can we make a call to the api
>>> with this version number and get the configs ?
>>>
>>> Thanks
>>> Ral
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Myroslav
>>
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or entity
>> to which it is addressed and may contain information that is confidential,
>> privileged and exempt from disclosure under applicable law. If the reader
>> of this message is not the intended recipient, you are hereby notified that
>> any printing, copying, dissemination, distribution, disclosure or
>> forwarding of this communication is strictly prohibited. If you have
>> received this communication in error, please contact the sender immediately
>> and delete it from your system. Thank You.
>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Mime
View raw message