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)
This commit is contained in:
Haibo Chen 2017-09-11 16:20:20 -07:00
parent 0b69a22f86
commit 4f58533389

View File

@ -276,7 +276,7 @@ private static void createAllSchemas(Configuration hbaseConf,
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);
}