Abdullah Yousufi created HIVE-13987:
---------------------------------------

             Summary: Clarify current error shown when HS2 is down
                 Key: HIVE-13987
                 URL: https://issues.apache.org/jira/browse/HIVE-13987
             Project: Hive
          Issue Type: Bug
          Components: Beeline
    Affects Versions: 2.0.1
            Reporter: Abdullah Yousufi
            Assignee: Abdullah Yousufi
            Priority: Minor
             Fix For: 2.2.0


When HS2 is down and a query is run, the following error is shown in beeline:
{code}
0: jdbc:hive2://localhost:10000> show tables;
Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)
{code}

It may be more helpful to also indicate that the reason for this is that HS2 is 
down, such as:
{code}
0: jdbc:hive2://localhost:10000> show tables;
HS2 may be unavailable, check server status
Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to