hadooppuppethortonworks-data-platformpuppetlabs-apache

how to ? automatic installation hdp with ambari for nightly build (CI)


I am searching for instruction how I can manage to install hortonworks (hdp) cluster, using ambari as a silent installation.

I saw in the manual of ambari-server that there are option to do it but it used the default values.

amabri-server setup -s

(Setup runs silently. Accepts all default prompt values.)

How I can do it? And how can I change the default values?

The reason I need it is for our nightly build.


Solution

  • It wasn't a very elegant solution but I used expect to automate the installation by spawning ambari-server setup and automatically putting in preconfigured values into the prompts.