Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13459

Hive Metastore Upgrade Retry Fails Because Of Driver Copy Issue

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      Problem: During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking Retry, Ambari cannot restart Hive Metastore. This situation can occur if Hive Metastore is using an external database (such as Oracle).
      Solution: During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking Retry in the Rolling Upgrade Wizard, Ambari cannot restart Hive Metastore and displays the following error in Ambari:

      resource_management.core.exceptions.Fail: Execution of 'cp /usr/hdp/current/hive-metastore/lib/ojdbc.jar /usr/hdp/2.3.2.0-2943/hive/lib' returned 1. cp: '/usr/hdp/current/hive-metastore/lib/ojdbc.jar' and '/usr/hdp/2.3.2.0-2943/hive/lib/ojdbc.jar' are the same file
      

      In order to get Hive Metastore to restart, before clicking Retry again, go onto the Hive Metastore host and move HDP version back to the original.

      hdp-select set hive-metastore <original-hdp-version>
      

      After performing the hdp-select, click Retry and proceed with the Rolling Upgrade.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonathan.hurley Jonathan Hurley
                Reporter:
                jonathan.hurley Jonathan Hurley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: