Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/19277
  
    @zuotingbing no, `fs.open` could succeed, but `new BufferedInputStream` 
could fail, leaving the underlying stream open. In practice, it can't actually 
fail because this constructor does no I/O or operations that can fail. You 
could get away with leaving it as is.


---

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

Reply via email to