The patch fixes 4 findbugs warnings.
- Three were for ignoring return value of File.delete(). Moved them into a conditional statement and added logging.
- Fourth was for not closing a FileWriter instance in some cases. This was originally ignored since it is non-critical and during shutdown. A finally block has been added to close it at all times.
The fifth warning is not something introduced by recent changes. There already is an entry in the exception list for this. So I am not fixing this.
<Class name="org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer$ResponseProcessor" />
<Method name="run" />
<Bug pattern="REC_CATCH_EXCEPTION" />