klcopp opened a new pull request #2321:
URL: https://github.com/apache/hadoop/pull/2321


   HDFS reuses the same cached FileSystem object across the file system. If the 
client calls FileSystem.close(), closeAllForUgi(), or closeAll() (if it applies 
to the instance) anywhere in the system it purges the cache of that FS 
instance, and trying to use the instance results in an IOException: FileSystem 
closed.
   
   It would be a great help to clients to see where and when a given FS 
instance was closed. I.e. in close(), closeAllForUgi(), or closeAll(), it would 
be great to see a DEBUG-level log of
   - calling method name, class, file name/line number
   - FileSystem object's identity hash (FileSystem.close() only)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to