hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ekoif...@apache.org
Subject hive git commit: HIVE-12276 Fix messages in InvalidTable (Eugene Koifman, reviewed by Jason Dere)
Date Wed, 28 Oct 2015 22:35:39 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 e075acd5a -> fdfd2cea6


HIVE-12276 Fix messages in InvalidTable (Eugene Koifman, reviewed by Jason Dere)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/fdfd2cea
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/fdfd2cea
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/fdfd2cea

Branch: refs/heads/branch-1
Commit: fdfd2cea6bc0e57441f515083624e4b768dc9274
Parents: e075acd
Author: Eugene Koifman <ekoifman@hortonworks.com>
Authored: Wed Oct 28 15:35:33 2015 -0700
Committer: Eugene Koifman <ekoifman@hortonworks.com>
Committed: Wed Oct 28 15:35:33 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hive/hcatalog/streaming/InvalidTable.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/fdfd2cea/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/InvalidTable.java
----------------------------------------------------------------------
diff --git a/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/InvalidTable.java
b/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/InvalidTable.java
index 98ef688..d61dfbb 100644
--- a/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/InvalidTable.java
+++ b/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/InvalidTable.java
@@ -29,10 +29,10 @@ public class InvalidTable extends StreamingException {
   }
 
   public InvalidTable(String db, String table, String msg) {
-    super(msg);
+    super(makeMsg(db, table) + ": " + msg, null);
   }
 
   public InvalidTable(String db, String table, Exception inner) {
-    super(inner.getMessage(), inner);
+    super(makeMsg(db, table) + ": " + inner.getMessage(), inner);
   }
 }


Mime
View raw message