aajisaka commented on a change in pull request #3728:
URL: https://github.com/apache/hadoop/pull/3728#discussion_r762128807



##########
File path: 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/timeline/util/LeveldbUtils.java
##########
@@ -203,6 +207,8 @@ public static DB loadOrRepairLevelDb(JniDBFactory factory, 
Path dbPath, Options
       File dbFile = new File(dbPath.toString());
       File dbBackupPath = new File(
           dbPath.toString() + BACKUP_EXT + Time.monotonicNow());
+      LOG.warn("Incurred exception while loading LevelDb database. Backing " +
+          "up at "+ dbBackupPath, ioe);

Review comment:
       Oh, the previous code did not use the parameterized logging.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to