Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6427

Hive Server2 should reopen Metastore client in case of any Thrift exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.12.0
    • None
    • HiveServer2
    • None

    Description

      In case of metastore restart hive server doesn't reopen connection to metastore. Any command gives broken pipe or similar exceptions.
      http://paste.ubuntu.com/6926215/

      Any subsequent command doesn't reestablish connection and tries to use stale (closed) connection.

      Looks like we shouldn't blindly convert any MetaException to HiveSQLException, but should distinguish between fatal exceptions and logical exceptions.

      Attachments

        1. HIVE-6427.patch
          10 kB
          Andrey Stepachev

        Activity

          People

            Unassigned Unassigned
            octo47 Andrey Stepachev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: