[
https://issues.apache.org/jira/browse/HBASE-17941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gavin updated HBASE-17941:
--------------------------
Comment: was deleted
(was: A comment with security level 'jira-users' was removed.)
> CellArrayMap#getCell may throw IndexOutOfBoundsException
> --------------------------------------------------------
>
> Key: HBASE-17941
> URL: https://issues.apache.org/jira/browse/HBASE-17941
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Chia-Ping Tsai
> Assignee: Hsin-Ying Lee
> Priority: Minor
> Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-17941.v0.patch
>
>
> {noformat}
> @Override
> protected Cell getCell(int i) {
> if( (i < minCellIdx) && (i >= maxCellIdx) ) return null;
> return block[i];
> }
> {noformat}
> && -> ||
> We have checked the index of bound before calling this method, so the
> exception doesn't happen at current trunk.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)