2. Software Configuration

Complete the following tasks to configure Hive HA solution:

 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 Apache Ambari using the instructions provided here.

    [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>/TODO file to add the following properties:

    1. Provide the URI for 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>
    2. 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>

  3. Complete HDP installation.

    • Continue the Ambari installation process using the instructions provided here.

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

 2.2. Validate configuration

Test various fail over scenarios to validate your configuration.


loading table of contents...