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

Limit result array preallocation to avoid OOME with large scan caching values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1, 0.98.12
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Scan#setCaching(Integer.MAX_VALUE) will likely terminate the regionserver with an OOME due to preallocation of the result array according to this parameter. We should limit the preallocation to some sane value. Definitely affects 0.98 (fix needed to HRegionServer) and 1.0.x (fix needed to RsRPCServices), not sure about later versions.

        Attachments

        1. HBASE-13269-1.0.patch
          1 kB
          Andrew Purtell
        2. HBASE-13269-1.0.patch
          2 kB
          Andrew Purtell
        3. HBASE-13269-0.98.patch
          1 kB
          Andrew Purtell
        4. HBASE-13269-0.98.patch
          2 kB
          Andrew Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Purtell
              Reporter:
              apurtell Andrew Purtell
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: