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

Fix debug message in SimpleRegionNormalizer for small regions

    XMLWordPrintableJSON

Details

    Description

      The SimpleRegionNormalizer has this:

           if ((smallestRegion.getSecond() + smallestNeighborOfSmallestRegion.getSecond()
                < avgRegionSize)) {
              LOG.debug("Table " + table + ", smallest region size: " + smallestRegion.getSecond()
                + " and its smallest neighbor size: " + smallestNeighborOfSmallestRegion.getSecond()
                + ", less than half the avg size, merging them");
      

      It does not check for "less than half the avg size" but only "less than the avg size", that is, drop the "half". Fix message.

      Attachments

        1. HBASE-14343-extended.patch
          4 kB
          Lars Francke
        2. HBASE-14343.patch
          2 kB
          Lars Francke

        Activity

          People

            larsfrancke Lars Francke
            larsgeorge Lars George
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: