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

Hive Rolling Upgrade Is No Longer Supported In Ambari

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      HS2 RU expects all users to be using zookeeper based JDBC URLs. However, few users are using these new Zookeeper discovery urls and they use the old format, directly specifying the hostname and port number for the HS2 instance it connects to. During RU, the HS2 port number changes and users using old url have an outage. Hive needs to be able to support RU without changing the port.

      Due to too many Hive Client user outages as a result of the RU workflow for HIve, the decision is to just change RU to bounce the HS2 process, knowing that there will be down time and causing all active queries to fail. So the runbook for the HS2 process will look like:

      • We will no longer change the Hive port at all during either RU or EU.
      • During an RU, we will present a message if Hive is present that indicates that Hive is not rolling and it will be taken down.
      • Run the Hive deregister command to remove the ZK entries for the Hive Servers
      • Hive will be shutdown, without draining, during an RU and a new instance started up on the same port.

      In addition, we need to remove the warnings that were added as part of AMBARI-17319.

      Attachments

        1. AMBARI-18591.patch
          48 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: