Github user mridulm commented on the issue:

    https://github.com/apache/spark/pull/15422
  
    @srowen Since this is happening 'below' the user code (in the hadoop rdd), 
is there a way around how to handle this ?
    I agree that for a lot of usecases where it is critical to work off the 
entire data, we should abort rather than process incomplete (and corrupt) data; 
not sure if we want to customize ability to do this though.
    
    EOFException being thrown instead of IOException is an implementation 
detail of the codec if I am not wrong (I dont think the contract specifies 
this) - @zsxwing can confirm though, I am not very familiar with that.
    
    setting finished = true should probably be done not just for EOFException, 
but also for IOException.
    
    I am fine with that as well, though this is a behavior change.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to