hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiboc...@apache.org
Subject hadoop git commit: YARN-7128. The error message in TimelineSchemaCreator is not enough to find out the error. (Jinjiang Ling via Haibo Chen)
Date Mon, 11 Sep 2017 23:23:33 GMT
Repository: hadoop
Updated Branches:
  refs/heads/YARN-5355_branch2 c77b48368 -> 737c49ed6


YARN-7128. The error message in TimelineSchemaCreator is not enough to find out the error.
(Jinjiang Ling via Haibo Chen)

(cherry picked from commit 661f5eb0c6791148f2d15d5730635ccb668601e3)


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

Branch: refs/heads/YARN-5355_branch2
Commit: 737c49ed6d098ddd1bd7501cc96462c3b572ae4a
Parents: c77b483
Author: Haibo Chen <haibochen@apache.org>
Authored: Mon Sep 11 16:20:20 2017 -0700
Committer: Haibo Chen <haibochen@apache.org>
Committed: Mon Sep 11 16:23:17 2017 -0700

----------------------------------------------------------------------
 .../yarn/server/timelineservice/storage/TimelineSchemaCreator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/737c49ed/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/TimelineSchemaCreator.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/TimelineSchemaCreator.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/TimelineSchemaCreator.java
index 210fd85..c9f7cec 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/TimelineSchemaCreator.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/TimelineSchemaCreator.java
@@ -276,7 +276,7 @@ public final class TimelineSchemaCreator {
       createAllTables(hbaseConf, skipExisting);
       LOG.info("Successfully created HBase schema. ");
     } catch (IOException e) {
-      LOG.error("Error in creating hbase tables: " + e.getMessage());
+      LOG.error("Error in creating hbase tables: ", e);
       exceptions.add(e);
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message