[
https://issues.apache.org/jira/browse/HBASE-11325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027508#comment-14027508
]
Matteo Bertozzi commented on HBASE-11325:
-----------------------------------------
what about adding an isValid() to the KeyValue, instead of having the kv
internals exposed there
also you can add a check that the input read matches the expected one
{code}
+ if (offset != totalLen) {
+ throw new IOException("Keys sum does not match the header - expected="
+
+ totalLen + " got=" + offset);
+ }
this.familyMap.put(family, keys);
{code}
> 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)