You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2014/02/03 14:46:11 UTC

[jira] [Commented] (ACCUMULO-2299) WholeRowIterator.decodeRow should check input stream return val

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

Mike Drob commented on ACCUMULO-2299:
-------------------------------------

[~vickyuec], can you add a unit test to assert that an exception is thrown on malformed data?

> WholeRowIterator.decodeRow should check input stream return val
> ---------------------------------------------------------------
>
>                 Key: ACCUMULO-2299
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2299
>             Project: Accumulo
>          Issue Type: Improvement
>    Affects Versions: 1.4.4, 1.5.0
>            Reporter: Josh Elser
>            Assignee: Vikram Srivastava
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.5.1
>
>         Attachments: ACCUMULO-2299.v1.patch.txt
>
>
> The decodeRow method ignores the return code on the DataInputStream.read calls. If that return value is inspected, we can catch errors where the data is malformed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)