瀏覽代碼

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

Haibo Chen 7 年之前
父節點
當前提交
661f5eb0c6

+ 1 - 1
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);
     }