Skip to content

Commit

Permalink
corrected log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Blazer-007 committed Feb 20, 2025
1 parent dee3fe4 commit db9cf7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public void run() {
dynamicScalingYarnService.calcDeltasAndRequestContainers();
}
} catch (FileNotFoundException fnfe) {
log.debug("Failed to get scaling directives - " + fnfe.getMessage()); // important message, but no need for a stack trace
// FNFE comes when scaling directives path is not yet created, so we should just calc delta & request containers if needed
log.debug("Scaling directives file not found(possibly not yet created). Falling back to delta calculation. - " + fnfe.getMessage());
dynamicScalingYarnService.calcDeltasAndRequestContainers();
} catch (IOException e) {
log.error("Failed to get scaling directives", e);
Expand Down

0 comments on commit db9cf7e

Please sign in to comment.