List of usage examples for org.apache.hadoop.hdfs.web.resources GroupParam GroupParam
public GroupParam(final String str)
From source file:com.bigstep.datalake.DLFileSystem.java
License:Apache License
@Override public void setOwner(final Path p, final String owner, final String group) throws IOException { if (owner == null && group == null) { throw new IOException("owner == null && group == null"); }/*www.j a v a2 s . c om*/ statistics.incrementWriteOps(1); final HttpOpParam.Op op = PutOpParam.Op.SETOWNER; new FsPathRunner(op, p, new OwnerParam(owner), new GroupParam(group)).run(); }