You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "wangjingying (Jira)" <ji...@apache.org> on 2021/11/27 10:22:00 UTC

[jira] [Created] (HBASE-26495) Limit the length of initial resultSets for HBase thrift service

wangjingying created HBASE-26495:
------------------------------------

             Summary: Limit the length of initial resultSets for HBase thrift service
                 Key: HBASE-26495
                 URL: https://issues.apache.org/jira/browse/HBASE-26495
             Project: HBase
          Issue Type: Improvement
          Components: Thrift
    Affects Versions: 1.4.14
            Reporter: wangjingying
             Fix For: 1.4.14


When the client requests getScannerResults or getScannerRows, setting up a large numRows will cause ArrayIndexOutOfBoundsException to be easy for OOM.

Here initialize the length of resultSets using the minimum value of hbase.thrift.getScannerResults.limit and numRows。



--
This message was sent by Atlassian Jira
(v8.20.1#820001)