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

Read the logs in batches during log splitting to avoid OOME

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.20.0, 0.19.3
    • None
    • None
    • Reviewed

    Description

      During log splitting, in the worst case we can read 64 logs of 64MB which will surely bust any heap. Instead we should read the logs in batches of 5-10 that we write right away.

      Attachments

        1. hbase-1430-trunk-v1.patch
          14 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: