Typical start of working with HDFS using org.apache.hadoop.fs
classes on scala is
val conf = new Configuration()
fs = FileSystem.get(conf)
Do we need to call something like
IOUtils.closeStream(fs)
or fs.close()
at the end?
I've found the single answer relating to this topic https://groups.google.com/forum/#!topic/nosql-databases/Mn9KLbtmh7M
In all my experience you let FileSystem instances close themselves.
I am not sure I can rely on it.