2.1. Setup Options

The following table describes options frequently used for Ambari Server setup.

Option Description

-j

--java-home

Specifies the JAVA_HOME path to use on the Ambari Server and all hosts in the cluster. Use this option when you are using local repositories. For more information, see Optional: Configure the Local Repositories. This path must be valid on all hosts and you must also specify this path when performing your cluster install. See Installing, Configuring and Deploying the Cluster: Install Options for more information. For example:

ambari-server setup –j /usr/java/default

By default when you do not specify this option, Setup automatically downloads the JDK binary to /var/lib/ambari-server/resources and installs the JDK to /usr/jdk64.

-s

--silent

Setup runs silently. Accepts all default prompt values.

-v

--verbose

Prints verbose info and warning messages to the console during Setup.


loading table of contents...