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

check to see if we exceeded hbase.regionserver.maxlogs limit is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0, 0.92.0
    • None
    • None
    • Reviewed

    Description

      In HLog.java:cleanOldLogs(), the number of logs left after archiving of old logs is computed as:

          int logCount = this.outputfiles.size() - logsToRemove;
      

      However, the archival itself already removes the files that were archived from the "this.outputfiles" map.

      So shouldn't the above logic simply be the following?

        int logCount = this.outputfiles.size();
      

      Attachments

        1. HBASE-3239-and-3241.txt
          2 kB
          Kannan Muthukkaruppan

        Activity

          People

            kannanm Kannan Muthukkaruppan
            kannanm Kannan Muthukkaruppan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: