Edit the
master-install-location/gsInstaller/gsInstaller.propertiesfile and specify values for all of the following properties to install all HDP components:![[Note]](../common/images/admon/note.png)
Note To perform minimal install (Apache Hadoop core components), specify values for Mandatory properties only (see third column in table).
Table 3.1. gsInstaller Configuration Properties Property Name Notes Example Mandatory/Optional/Conditional java64home Location of JAVA_HOMEfor 64-bit JDK v 1.6 update 31 in your environment.Mandatory security
Set the value to “yes”. (Default: No) Mandatory datanode_dir Comma-separated list of the DataNode’s data directories residing on separate disks. /hdp/1/hadoop/hdfs/data,/hdp/2/hadoop/hdfs/dataMandatory namenode_dir Comma-separated list of the NameNode’s data directories. Provide multiple directories on separate physical file systems and on separate mount points to preserve the NameNode metadata. /hdp/1/hadoop/hdfs/namenode,/hdp/2/hadoop/hdfs/namenodeMandatory snamenode_dir Comma-separated list of the NameNode’s checkpointing directories residing on separate disks. /hdp/1/hadoop/hdfs/snamenode,/hdp/2/hadoop/hdfs/snamenodeMandatory mapred_dir Comma-separated list of the MapReduce’s data directories residing on separate disks. /hdp/1/hadoop/mapred,/hdp/2/hadoop/mapredMandatory log_dir Full path to Hadoop log directory. /var/log/hadoopMandatory pid_dir Full path to Hadoop PID directory. /var/run/hadoopMandatory hdfs_user_keytab
Change this path to
/tmp/${hdfsuser}.headless.keytabMandatory hbase_user_keytab Change this path to
/tmp/${hbaseuser}.headless.keytabMandatory keytabdir
Path to NameNode, Secondary NameNode, JobTracker, DataNode, TaskTracker, HBase Master, and RegionServer keytab file. ( Default: /etc/security/keytabs)Mandatory realm Provide the Kerberos realm. (Default: EXAMPLE.COM)Mandatory sshkey Either provide full path to the sshkey which allows you to perform passwordless SSH OR Set this field to empty when passwordless SSH is set-up Mandatory installpig To install Pig, set the value to yes. (Default: yes) Optional installhbase To install HBase, set the value to yes. (Default: yes) Optional hbase_log_dir Location for HBase log directory. /var/log/hbaseConditional. Required if installhbaseis set to yes.hbase_pid_dir Location for HBase PID directory. /var/run/hbasezk_log_dir Location for ZooKeeper log directory. /var/log/zookeeperConditional. Required if installhbaseis set to yes.zk_pid_dir Location for ZooKeeper PID directory. /var/run/zookeeperzk_data_dir Location for Zookeeper data directory. /hdp/1/hadoop/zookeeperdbflavor Database flavor for Hive, Oozie, and Sqoop. Permissible values are mysql or oracle Conditional. Required only if installing either Hive, Oozie, or Sqoop dbhost FQDN for database host machine Conditional. Required only if installing either Hive, Oozie, or Sqoop jdbc_jar Location of the Oracle JDBC JAR file (see instructions here) Conditional. Required only if installing either Hive, Oozie, or Sqoop and if dbflavoris set tooracledbsysuser User credentials for Oracle database system users dbsyspasswd installhive To install Hive, set the value to yes. (Default: no) Optional. You must first install and configure MySQL for your cluster as instructed here. Also ensure that installhcatproperty is set to yes.hive_log_dir Location for Hive log directory. /var/log/hiveConditional Required only if installhiveis set to yes.hive_dbname Database name for Hive metastore. Conditional. Required only if installhiveis set to yes.hive_dbuser Credentials for Hive Database user. hive_dbpasswd installhcat To install HCatalog, set the value to yes. (Default: yes) Optional. Ensure that installhiveproperty is set to yes.smoke_test_user Provide the value for the smoke test user. (Default: hdptestuser)Mandatory smoke_test_user_keytab
Location of the keytab file for the smoke test user. (Default: /homes/${smoke_test_user}/${smoke_test_user}.headless.keytab)Mandatory installsqoop To install Sqoop, set the value to yes. (Default: yes) Optional installoozie To install Oozie, set the value to yes. (Default: yes) Optional oozie_use_external_db Set this to yes, to use MySQL or Oracle database for Oozie metastore (default database is Derby). (Default: no) Conditional. Required only if installing Oozie oozie_log_dir Location for Oozie log directory. /var/log/oozieoozie_pid_dir
Location for Oozie PID directory. /var/run/oozieoozie_dbname Database name for Oozie metastore. oozie_dbuser Database user credentials for Oozie metastore. oozie_dbpasswd installFlume
To download Apache Flume RPM, set the value to yes. (Default: no). To deploy Flume, use the instructions available here. Optional installMahout
To install Apache Mahout set the value to yes.(Default: no) Optional enablemon Required if you want to install the HDP components for Monitoring (Ganglia and Nagios). (Default: yes) Optional. You must configure and deploy HDP Monitoring components as instructed in next section. clusterName Name of the cluster. This name is required in order to invoke the Ambari APIs. (Default: ambari) ambariRequired if enablemonproperty is set to yes.dashboardhost Provide the hostname from where you want to run the Ambari APIs. Required if enablemonproperty is set to yes.To deploy Flume, use the instructions available here.

