Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26443

Some BaseLoadBalancer log lines should be at DEBUG level

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      These are printed per chore run, per host:

      [00]2021-11-10 22:07:32,998 INFO  [master/ip-172-31-58-47:8100.Chore.1] balancer.BaseLoadBalancer: server <N> is on rack <R>
      

      One log line per server. On a large cluster, this is a lot of unnecessary logging. The 'server <N> is on rack <R>' log line arguably should be at TRACE. It is not interesting unless you are debugging the balancer.

      This 'Start Generate Balance plan for cluster.' log line should be at DEBUG:

      [00]2021-11-10 22:07:32,984 INFO  [master/ip-172-31-58-47:8100.Chore.1] balancer.BaseLoadBalancer: Start Generate Balance plan for cluster.
      

      While we are in here, this should also be logged at DEBUG level:

      [00]2021-11-10 22:14:33,005 INFO  [master/ip-172-31-58-47:8100.Chore.1] master.HMaster: Balancer is going into sleep until next period in 60000ms
      

      Attachments

        Activity

          People

            apurtell Andrew Kyle Purtell
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: