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

Matteo Bertozzi commented on HBASE-11325:
-----------------------------------------

the validation assumes that the buffer is of the correct length, if it is not 
you will get an index error or something like that.

also instead of the 2 * KEY_LENGTH_SIZE + 2, there are constants like 
KEY_INFRASTRUCTURE_SIZE, ROW_LENGTH_SIZE, FAMILY_LENGTH_SIZE, TIMESTAMP_SIZE, 
...



> Malformed RPC calls can corrupt stores
> --------------------------------------
>
>                 Key: HBASE-11325
>                 URL: https://issues.apache.org/jira/browse/HBASE-11325
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, regionserver
>    Affects Versions: 0.94.20
>            Reporter: Esteban Gutierrez
>         Attachments: HBASE-11325.patch
>
>
> We noticed in a cluster a Region Server that aborted with a 
> DroppedSnapshotException due an IOException in ScanWildcardColumnTracker when 
> the RS tried to flush the memstore. After further research it was found that 
> a client was sending corrupt RPCs requests to the RS and those corrupt 
> requests ended into the stores causing corruption of the memstore itself and 
> in some cases HFiles.  More details to follow.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to