Chaoyu Tang created HIVE-4489:
---------------------------------
Summary: beeline always return the same error message twice
Key: HIVE-4489
URL: https://issues.apache.org/jira/browse/HIVE-4489
Project: Hive
Issue Type: Bug
Components: Clients
Affects Versions: 0.10.0
Reporter: Chaoyu Tang
Priority: Minor
Fix For: 0.11.0
Beeline always returns the same error message twice. for example, if I try to
create a table a2 which already exists, it prints out two exact same messages
and it is not quite user friendly.
{{{
beeline> !connect jdbc:hive2://localhost:10000 scott tiger
org.apache.hive.jdbc.HiveDriver
Connecting to jdbc:hive2://localhost:10000
Connected to: Hive (version 0.10.0)
Driver: Hive (version 0.10.0-cdh4.2.1)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://localhost:10000> create table a2 (value int);
Error: Error while processing statement: FAILED: Execution Error, return code 1
from org.apache.hadoop.hive.ql.exec.DDLTask (state=08S01,code=1)
Error: Error while processing statement: FAILED: Execution Error, return code 1
from org.apache.hadoop.hive.ql.exec.DDLTask (state=08S01,code=1)
}}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira