[jira] [Updated] (HIVE-4489) beeline always return the same error message twice

2013-06-01 Thread Ashutosh Chauhan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-4489:
---

Assignee: Chaoyu Tang

 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
Assignee: Chaoyu Tang
Priority: Minor
  Labels: newbie
 Attachments: HIVE-4489.patch

   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:1 scott tiger 
 org.apache.hive.jdbc.HiveDriver
 Connecting to jdbc:hive2://localhost:1
 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:1 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


[jira] [Updated] (HIVE-4489) beeline always return the same error message twice

2013-05-03 Thread Chaoyu Tang (JIRA)

 [ 
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:1 scott tiger 
org.apache.hive.jdbc.HiveDriver
Connecting to jdbc:hive2://localhost:1
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:1 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:1 scott tiger 
org.apache.hive.jdbc.HiveDriver
Connecting to jdbc:hive2://localhost:1
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:1 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:1 scott tiger 
 org.apache.hive.jdbc.HiveDriver
 Connecting to jdbc:hive2://localhost:1
 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:1 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


[jira] [Updated] (HIVE-4489) beeline always return the same error message twice

2013-05-03 Thread Chaoyu Tang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chaoyu Tang updated HIVE-4489:
--

Fix Version/s: (was: 0.11.0)

 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
   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:1 scott tiger 
 org.apache.hive.jdbc.HiveDriver
 Connecting to jdbc:hive2://localhost:1
 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:1 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


[jira] [Updated] (HIVE-4489) beeline always return the same error message twice

2013-05-03 Thread Chaoyu Tang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chaoyu Tang updated HIVE-4489:
--

Attachment: HIVE-4489.patch

removed duplicated error logging in the low level of exception catch block and 
only the top level catch block print out the error.

 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
 Attachments: HIVE-4489.patch

   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:1 scott tiger 
 org.apache.hive.jdbc.HiveDriver
 Connecting to jdbc:hive2://localhost:1
 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:1 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


[jira] [Updated] (HIVE-4489) beeline always return the same error message twice

2013-05-03 Thread Chaoyu Tang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chaoyu Tang updated HIVE-4489:
--

Attachment: (was: HIVE-4489.patch)

 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
 Attachments: HIVE-4489.patch

   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:1 scott tiger 
 org.apache.hive.jdbc.HiveDriver
 Connecting to jdbc:hive2://localhost:1
 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:1 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


[jira] [Updated] (HIVE-4489) beeline always return the same error message twice

2013-05-03 Thread Chaoyu Tang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-4489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chaoyu Tang updated HIVE-4489:
--

Attachment: HIVE-4489.patch

 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
 Attachments: HIVE-4489.patch

   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:1 scott tiger 
 org.apache.hive.jdbc.HiveDriver
 Connecting to jdbc:hive2://localhost:1
 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:1 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