Yes. Best method is to monitor the cluster creation status and then trigger 
your post-actions.

-- 
Sean Roberts

... blame the phone for typos

> On 18 Feb 2018, at 03:30, Lian Jiang <[email protected]> wrote:
> 
> Hi,
> 
> I am using terraform and ambari blueprint to setup hadoop cluster in cloud. I 
> want to run scripts on the ambari client hosts to install something (e.g. 
> install ExtJS for ooize, add topology_script.py into hdfs conf folder...) 
> after the hadoop is setup automatically. 
> 
> What's the recommended way to do this? Should I make the bootstrap scripts 
> running on the ambari client nodes check the cluster creation status?
> 
> http://{ambariServerIP}:8080/api/v1/clusters/${CLUSTER_NAME}/requests/1
> 
> Thanks for any clue.
> 
> 

Reply via email to