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

too much logging when balancer runs from BaseLoadBalancer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.3.3, 1.4.6
    • Balancer
    • Reviewed

    Description

      When balancer runs, it tries to find least loaded server with better locality for current region. During this, we make debug level logging for each of those regions. It creates too much amount of logging at debug level , we should move this to trace level logging.

      int getLeastLoadedTopServerForRegion (int region, int currentServer) {
      ...
          if (leastLoadedServerIndex != -1) {
              LOG.debug("Pick the least loaded server " + servers[leastLoadedServerIndex].getHostname()
              + " with better locality for region " + regions[region]);
          }
      ...
      }

      This was fixed in branch-2.0 as part of HBASE-14614  

      Attachments

        1. HBASE-20701-branch-1.4.patch
          1 kB
          Mihir Monani
        2. HBASE-20701-branch-1.3.patch
          1 kB
          Mihir Monani
        3. HBASE-20701-branch-1.3.patch
          1 kB
          Mihir Monani
        4. HBASE-20701-branch-1.4.patch
          1 kB
          Mihir Monani
        5. HBASE-20701-branch-1.3.patch
          1 kB
          Mihir Monani
        6. HBASE-20701.branch-1.001.patch
          1 kB
          Mihir Monani

        Activity

          People

            mihir6692 Mihir Monani
            mihir6692 Mihir Monani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: