@Override public void close() throws IOException { // super.close should be called first before releasing the resources in this instance, as the // super class may invoke other methods in this class. For example, // org.apache.hadoop.fs.FileSystem.close may check the existence of certain temp files before // closing super.close(); if (mFsContext != null) { mFsContext.close(); } }
@Override public void close() throws IOException { // super.close should be called first before releasing the resources in this instance, as the // super class may invoke other methods in this class. For example, // org.apache.hadoop.fs.FileSystem.close may check the existence of certain temp files before // closing super.close(); if (mContext != null) { mContext.close(); } }