hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1618291 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
Date Fri, 15 Aug 2014 22:38:45 GMT
Author: hashutosh
Date: Fri Aug 15 22:38:44 2014
New Revision: 1618291

URL: http://svn.apache.org/r1618291
Log:
HIVE-7737 : Hive logs full exception for table not found (Sergey Shelukhin via Ashutosh Chauhan)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java?rev=1618291&r1=1618290&r2=1618291&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java Fri Aug 15 22:38:44
2014
@@ -979,7 +979,7 @@ public class Hive {
       tTable = getMSC().getTable(dbName, tableName);
     } catch (NoSuchObjectException e) {
       if (throwException) {
-        LOG.error(StringUtils.stringifyException(e));
+        LOG.error("Table " + tableName + " not found: " + e.getMessage());
         throw new InvalidTableException(tableName);
       }
       return null;



Mime
View raw message