[ACCEPTED]-IOException: Filesystem closed exception when running oozie workflow-oozie
Accepted answer
Use the below configuration while accessing 1 file system.
Configuration conf = new Configuration();
conf.setBoolean("fs.hdfs.impl.disable.cache", true);
FileSystem fileSystem = FileSystem.get(conf);
I had encountered a similar issue that prompted 5 java.io.IOException: Filesystem closed
. Finally, I found I closed the filesystem 4 somewhere else. The hadoop filesystem API 3 returns the same object. So if I closed 2 one filesystem, then all filesystems are 1 closed.
I get the solution from this answer
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.