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

Block count is 0 when BucketCache using persistent IOEngine and retrieve from file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.4.10, 2.2.1, master
    • Fix Version/s: 3.0.0, 2.3.0, 1.6.0, 1.4.11
    • Component/s: BucketCache
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We use FileIOEngine to store and read block data in BucketCache. Before stop RS, the BucketCache metrics in WebUI is like before_RS_restart.png, the block count is 3. When stop RS, the backing map is persistent to file. And then start RS, the metrics is like after_RS_restart.png, the block count is 0, but the size of blocks is correct. 

        Attachments

        1. HBASE-23056.master.0001.patch
          1 kB
          Baiqiang Zhao
        2. HBASE-23056-branch-1.0001.patch
          1 kB
          Baiqiang Zhao
        3. after_RS_restart.png
          151 kB
          Baiqiang Zhao
        4. before_RS_restart.png
          151 kB
          Baiqiang Zhao

          Activity

            People

            • Assignee:
              DeanZ Baiqiang Zhao
              Reporter:
              DeanZ Baiqiang Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: