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)