Skip to content

Conversation

@samperson1997
Copy link
Contributor

Cluster module introduce Files.deleteIfExists(file.toPath()) in tsfile resource, but toPath() method returns java.nio.file.Path which doesn't work for HDFS file, and result in failure of storing tsfiles in HDFS.

@samperson1997 samperson1997 changed the title Fix Files.deleteIfExists() doesn't work for HDFS file [ISSUE-2095] Fix Files.deleteIfExists() doesn't work for HDFS file Mar 25, 2021
@samperson1997 samperson1997 requested a review from jt2594838 March 25, 2021 15:57
@samperson1997 samperson1997 linked an issue Mar 26, 2021 that may be closed by this pull request
@sonarqubecloud
Copy link

@samperson1997 samperson1997 changed the title [ISSUE-2095] Fix Files.deleteIfExists() doesn't work for HDFS file [ISSUE-2905] Fix Files.deleteIfExists() doesn't work for HDFS file Mar 27, 2021
@HTHou HTHou merged commit b28fa65 into master Mar 27, 2021
@HTHou HTHou deleted the hdfs_delete branch March 27, 2021 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot write data into HDFS

2 participants