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

Memory leak in HBase rest server

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      When using the URIs like this:
       
                /sometable/*?limit=$limit&startrow=$startrow&endrow=$endrow
       
      where $limit is smaller than the range between $startrow and $endrow, the rest server will start leaking memory.
       
       
      The bug is in the TableScanResource.java class. Basically, the ResultScanner is not being closed in next() method when the limit has been reached.

        Attachments

        1. HBASE-21007.001.patch
          0.5 kB
          Bosko Devetak
        2. HBASE-21007.002.patch
          1 kB
          Bosko Devetak

          Activity

            People

            • Assignee:
              bdevetak Bosko Devetak
              Reporter:
              bdevetak Bosko Devetak
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: