Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - Review Request: HIVE-4489: beeline always return the same error message twice


+
Chaoyu Tang 2013-05-03, 15:41
Copy link to this message
-
Re: Review Request: HIVE-4489: beeline always return the same error message twice
Chaoyu Tang 2013-05-03, 23:01

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10917/
-----------------------------------------------------------

(Updated May 3, 2013, 11:01 p.m.)
Review request for hive.
Changes
-------

simply remove the whole inner catch block which is only used to spit out the error.
Description
-------

Beeline always returns the same error message twice -- because the error is logged out both in an exception catch block and its outer re-catch block.
This addresses bug HIVE-4489.
    https://issues.apache.org/jira/browse/HIVE-4489
Diffs (updated)
-----

  beeline/src/java/org/apache/hive/beeline/Commands.java 8e2a52f

Diff: https://reviews.apache.org/r/10917/diff/
Testing
-------

Have done the tests.
Thanks,

Chaoyu Tang

+
Ashutosh Chauhan 2013-06-01, 19:21