hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hsin-Ying Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17941) CellArrayMap#getCell may throw IndexOutOfBoundsException
Date Thu, 20 Apr 2017 06:42:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976182#comment-15976182
] 

Hsin-Ying Lee commented on HBASE-17941:
---------------------------------------

Hi [~chia7712] I want to resolve this issue, but I can't assign it to myself

> 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
>            Priority: Minor
>              Labels: beginner
>             Fix For: 2.0.0
>
>
> {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
(v6.3.15#6346)

Mime
View raw message