accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2299) WholeRowIterator.decodeRow should check input stream return val
Date Mon, 03 Feb 2014 13:46:11 GMT

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

Mime
View raw message