Github user sanjaydasgupta commented on the issue:

    https://github.com/apache/zeppelin/pull/2978
  
    Added code to delete the temp file if the write fails. Re-throwing the 
exception serves two purposes:
    
    1) Ensure that the caller sees the same exception when the write fails, and
    2) Prevent calling the subsequent rename operation (which would fail)
    
    Thanks for pointing out this case @felixcheung 


---

Reply via email to