[ 
https://issues.apache.org/jira/browse/CASSANDRA-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974694#action_12974694
 ] 

Nick Bailey commented on CASSANDRA-1877:
----------------------------------------

I believe EOFException is thrown when corruption happens sometimes, which is 
why it was catching IOException.  I am unaware of a more specific reason why 
AIOE is being thrown than 'corruption'.

Also this patch needs to be updated.  This patches the method that writes to a 
file which as far as I can tell isn't used at all. We only write to stdout.

> sstable2json fails to skip corrupt rows
> ---------------------------------------
>
>                 Key: CASSANDRA-1877
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1877
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0 rc 2
>            Reporter: Nick Bailey
>            Assignee: Nick Bailey
>            Priority: Minor
>             Fix For: 0.7.1
>
>         Attachments: 1877.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> sstable2json only catches IOException when attempting to skip corrupt rows. 
> It should probably just catch Throwable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to