hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11325) Malformed RPC calls can corrupt stores
Date Wed, 11 Jun 2014 04:48:02 GMT

     [ https://issues.apache.org/jira/browse/HBASE-11325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Esteban Gutierrez updated HBASE-11325:
--------------------------------------

    Attachment: HBASE-11325.patch

This is a prototype that matches the layout of a KV (according to KeyValue.createEmptyByteArray)
and if the some values are out of range or the position of some markers like {{KeyValue.Type.Put}}
don't match we throw an IOE back to the client. I couldn't find any issue in the unit tests
and also I wasn't able to corrupt the store after this patch.

> 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)

Mime
View raw message