Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16003 Compacting memstore related fixes
  3. HBASE-16155

Compacting Memstore : Few log improvements

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      When testing this I can see large log files for RS. Many log lines in INFO level which can be lower level

      LOG.info("FLUSHING TO DISK: region "+ getRegionServices().getRegionInfo()
      .getRegionNameAsString() + "store: "+ getFamilyName());
      To be DEBUG
      LOG.info("IN-MEMORY FLUSH: Pushing active segment into compaction pipeline, " +
      "and initiating compaction.");
      To be DEBUG
      LOG.info("Swapping pipeline suffix with compacted item. "
      +"Just before the swap the number of segments in pipeline is:"
      +versionedList.getStoreSegments().size()
      +", and the number of cells in new segment is:"+segment.getCellsCount());
      To be DEBUG
      LOG.info("Suffix size: "+ suffixSize+" compacted item size: "newSize
      " globalMemstoreSize: "+globalMemstoreSize);
      To be DEBUG
      LOG.info("Starting the MemStore in-memory compaction for store " +
      compactingMemStore.getStore().getColumnFamilyName());
      To be DEBUG

      And one now in DEBUG can be better at INFO level
      LOG.debug("Setting in-memory flush size threshold to " + inmemoryFlushSize);

      Attachments

        1. HBASE-16155.patch
          6 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: