wait for ambari to start