You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/06/02 18:58:06 UTC

svn commit: r1488741 - /hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java

Author: hashutosh
Date: Sun Jun  2 16:58:06 2013
New Revision: 1488741

URL: http://svn.apache.org/r1488741
Log:
HIVE-4489 : beeline always return the same error message twice (Chaoyu Tang via Ashutosh Chauhan)

Modified:
    hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java

Modified: hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java
URL: http://svn.apache.org/viewvc/hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java?rev=1488741&r1=1488740&r2=1488741&view=diff
==============================================================================
--- hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java (original)
+++ hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java Sun Jun  2 16:58:06 2013
@@ -771,9 +771,6 @@ public class Commands {
           beeLine.info(beeLine.loc("rows-affected", count)
               + " " + beeLine.locElapsedTime(end - start));
         }
-      } catch (Exception e) {
-        beeLine.error(e);
-        throw e;
       } finally {
         if (stmnt != null) {
           stmnt.close();