[
https://issues.apache.org/jira/browse/HIVE-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chaoyu Tang updated HIVE-4489:
------------------------------
Description:
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.
{code}
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)
{code}
was:
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)
}}}
> 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
> Labels: newbie
> Fix For: 0.11.0
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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.
> {code}
> 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)
> {code}
--
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