We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adc2f3d commit f26fd02Copy full SHA for f26fd02
1 file changed
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultHeapMemoryTuner.java
@@ -352,7 +352,16 @@ private StepDirection getTuneDirection(TunerContext context) {
352
}
353
354
355
- LOG.info(tunerLog.toString());
+ // Log NEUTRAL decisions at DEBUG, because they are the most frequent and not that interesting.
356
+ // Log other decisions at INFO because they are making meaningful operational changes.
357
+ switch (newTuneDirection) {
358
+ case NEUTRAL:
359
+ LOG.debug(tunerLog.toString());
360
+ break;
361
+ default:
362
+ LOG.info(tunerLog.toString());
363
364
+ }
365
return newTuneDirection;
366
367
0 commit comments