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

2015-10-28 Thread ekoifman
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 
Authored: Wed Oct 28 15:35:33 2015 -0700
Committer: Eugene Koifman 
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);
   }
 }



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

2015-10-28 Thread ekoifman
Repository: hive
Updated Branches:
  refs/heads/master 01580af2e -> 53fc31931


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/53fc3193
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/53fc3193
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/53fc3193

Branch: refs/heads/master
Commit: 53fc3193194a742429170a7c5a0a809ab3c5341f
Parents: 01580af
Author: Eugene Koifman 
Authored: Wed Oct 28 16:00:46 2015 -0700
Committer: Eugene Koifman 
Committed: Wed Oct 28 16:00:46 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/53fc3193/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);
   }
 }