public boolean deleteDir(Path f, boolean recursive, boolean ifPurge, boolean needCmRecycle) throws MetaException { if (needCmRecycle) { try { cm.recycle(f, RecycleType.MOVE, ifPurge); } catch (IOException e) { throw new MetaException(org.apache.hadoop.util.StringUtils.stringifyException(e)); } } FileSystem fs = getFs(f); return fsHandler.deleteDir(fs, f, recursive, ifPurge, conf); }
public boolean deleteDir(Path f, boolean recursive) throws MetaException { FileSystem fs = getFs(f); return fsHandler.deleteDir(fs, f, recursive, conf); }
public boolean deleteDir(Path f, boolean recursive) throws MetaException { FileSystem fs = getFs(f); return fsHandler.deleteDir(fs, f, recursive, conf); }
public boolean deleteDir(Path f, boolean recursive, boolean ifPurge) throws MetaException { FileSystem fs = getFs(f); return fsHandler.deleteDir(fs, f, recursive, ifPurge, conf); }
public boolean deleteDir(Path f, boolean recursive, boolean ifPurge) throws MetaException { FileSystem fs = getFs(f); return fsHandler.deleteDir(fs, f, recursive, ifPurge, conf); }
public boolean deleteDir(Path f, boolean recursive, boolean ifPurge, boolean needCmRecycle) throws MetaException { if (needCmRecycle) { try { cm.recycle(f, RecycleType.MOVE, ifPurge); } catch (IOException e) { throw new MetaException(org.apache.hadoop.util.StringUtils.stringifyException(e)); } } FileSystem fs = getFs(f); return fsHandler.deleteDir(fs, f, recursive, ifPurge, conf); }