/** * Close this FileSystem instance. * Will release any held locks, delete all files queued for deletion * through calls to {@link #deleteOnExit(Path)}, and remove this FS instance * from the cache, if cached. * * After this operation, the outcome of any method call on this FileSystem * instance, or any input/output stream created by it is <i>undefined</i>. * @throws IOException IO failure */ @Override public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
/** * No more filesystem operations are needed. Will * release any held locks. */ public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
/** * No more filesystem operations are needed. Will * release any held locks. */ @Override public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
/** {@inheritDoc} */ public void close() throws IOException { try { super.processDeleteOnExit(); dfs.close(); } finally { super.close(); } }
/** {@inheritDoc} */ public void close() throws IOException { try { super.processDeleteOnExit(); dfs.close(); } finally { super.close(); } }
/** * No more filesystem operations are needed. Will * release any held locks. */ public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
/** * No more filesystem operations are needed. Will * release any held locks. */ @Override public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
/** * No more filesystem operations are needed. Will * release any held locks. */ @Override public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
/** * No more filesystem operations are needed. Will * release any held locks. */ @Override public void close() throws IOException { // delete all files that were marked as delete-on-exit. processDeleteOnExit(); CACHE.remove(this.key, this); }
@Override public void close() throws IOException { try { LOG.info("Closing CrailHadoopFileSystem"); super.processDeleteOnExit(); dfs.close(); } catch (Exception e) { e.printStackTrace(); throw new IOException(e); } } }
@Override public void close() throws IOException { try { LOG.info("Closing CrailHadoopFileSystem"); super.processDeleteOnExit(); dfs.close(); } catch (Exception e) { e.printStackTrace(); throw new IOException(e); } } }