【Flink】Flink 启动报错 DirectoryNotEmptyException Could not close resource

美图

1.背景

windows下开发Flink程序,启动的时候报错如下,下次再次启动的时候就不报错了

org.apache.flink.util.FlinkException: Could not close resource.
	at org.apache.flink.util.AutocloseableAsyn.close (AutoCloseableAsyne.java:42)
	at org.apache.flink.streaming.api.environmen.LocalStreamEnvironment.execute (LocalstreamEnvironment.java:127)
Caused by: java.nio.file.DirectoryNotEmptyException: C:/Users/AH/AppData/Local/Templ/blobStore-f557dd7b-623c-45ae-89df
	at sun.nio.fs.WindowsFileSystemProvider.imp Delete (WindowsFi leSystemProvider.java:266)
	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists (AbstractFileSystemProvider.java: 108)
	at java.nio.file.Files.deletelfExists(Files.java:l165)
	at org.apache.flink.util.FileUtils.deleteDi rectoryInternal (FileUtils.java:218)
	at org.apache.flink.util.FileUtils.guardI fWindows (FileUtils.java:270)

原因未知

你可能感兴趣的:(未解决的问题)