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

Clarify current error shown when HS2 is down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.1
    • 2.3.0
    • Beeline
    • None

    Description

      When HS2 is down and a query is run, the following error is shown in beeline:

      0: jdbc:hive2://localhost:10000> show tables;
      Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)
      

      It may be more helpful to also indicate that the reason for this is that HS2 is down, such as:

      0: jdbc:hive2://localhost:10000> show tables;
      HS2 may be unavailable, check server status
      Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)
      

      Attachments

        1. HIVE-13987.01.patch
          2 kB
          Abdullah Yousufi
        2. HIVE-13987.02.patch
          2 kB
          Abdullah Yousufi

        Activity

          People

            ayousufi Abdullah Yousufi
            ayousufi Abdullah Yousufi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: