List of usage examples for org.apache.hadoop.fs FileSystem removeDefaultAcl
public void removeDefaultAcl(Path path) throws IOException
From source file:com.mellanox.r4h.DistributedFileSystem.java
License:Apache License
/** * {@inheritDoc}//w w w . j a v a 2 s . c om */ @Override public void removeDefaultAcl(Path path) throws IOException { final Path absF = fixRelativePart(path); new FileSystemLinkResolver<Void>() { @Override public Void doCall(final Path p) throws IOException { dfs.removeDefaultAcl(getPathName(p)); return null; } @Override public Void next(final FileSystem fs, final Path p) throws IOException, UnresolvedLinkException { fs.removeDefaultAcl(p); return null; } }.resolve(this, absF); }