2.1. Install HDP

Use the following instructions to install HDP on your cluster hardware. Ensure that you specify the virtual machine (configured in the previous section) as your NameNode.

  1. Download the Apache Ambari repository using the instructions provided in "Download the Ambari Repo" in the Ambari 2.0.0 Documentation Suite.

    [Note]Note

    Do not start the Ambari server until you have configured the relevant templates as outlined in the following steps.

  2. Edit the <master-install-machine-for-Hive-Metastore>/etc/hive/conf.server/hive-site.xml configuration file to add the following properties:

    • Provide the URI for the client to contact Metastore server. The following property can have a comma separated list when your cluster has multiple Hive Metastore servers.

      <property>
       <name> hive.metastore.uris </name>
       <value> thrift://$Hive_Metastore_Server_Host_Machine_FQDN </value>
       <description> URI for client to contact metastore server </description>
      </property>
    • Configure Hive cluster delegation token storage class.

      <property>
       <name> hive.cluster.delegation.token.store.class </name>
       <value> org.apache.hadoop.hive.thrift.DBTokenStore </value>
      </property>
    • Complete HDP installation.

      • Continue the Ambari installation process using the instructions provided in "Install, Configure and Deploy a HDP Cluster" in the Ambari 2.0.0 Documentation Suite.

      • Complete the Ambari installation. Ensure that the installation was successful.