Forráskód Böngészése

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)
Haibo Chen 7 éve
szülő
commit
4f58533389

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