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

This commit is contained in:
Haibo Chen 2017-09-11 16:20:20 -07:00
parent 6651cbcc72
commit 661f5eb0c6

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