ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddharth Wagle <>
Subject Re: RestAPI for pushing a configuration to a component in 1.2.4
Date Tue, 29 Jul 2014 20:07:23 GMT
You can create a config and attach it to any service and thereby a host
component. The config will be sent to the host on any execution command,
example: START/STOP.

However, you would need to add a small snippet of code (4 lines) for the
configuration to be applied on the host. Take a look at the XMLConfig
element here,

The the automated mechanism is a good idea. Maybe you can open a Jira for
the same. Although, it is probably easier to change the stack definition
for a quicker resolution if so desired.


On Tue, Jul 29, 2014 at 12:42 PM, Aaron Cody <> wrote:

>  is there any mechanism available (preferably a REST call) to push an
> arbitrary file out to a host or hosts in the cluster?

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.

View raw message