xushiyan commented on PR #6123:
URL: https://github.com/apache/hudi/pull/6123#issuecomment-1192012837

   > @xushiyan @yanghua the root cause is FileSystem will cache the mapping of 
Path's Uri and Configuration. let's say the first ut has created a FileSystem 
with path 'file:///' and configuration A, after the first ut finished, if the 
second ut also wants to create a FileSystem with path 'file:///' and 
configuration B, configuration B won't apply to new FileSystem, it will still 
use the configuration A. What I did was add FileSystem.closeAll() in each ut's 
tearDown method
   
   Great finding!


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to