You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/07/21 23:01:13 UTC
[GitHub] [hudi] xushiyan commented on pull request #6123: [HUDI-4437] resolve conflicts between TestHiveSyncGlobalCommitTool and TestHiveSyncTool
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org