use of alluxio.grpc.GrpcUtils in project alluxio by Alluxio.
the class FileSystemMasterClientServiceHandler method setAcl.
@Override
public void setAcl(SetAclPRequest request, StreamObserver<SetAclPResponse> responseObserver) {
RpcUtils.call(LOG, () -> {
AlluxioURI pathUri = getAlluxioURI(request.getPath());
mFileSystemMaster.setAcl(pathUri, request.getAction(), request.getEntriesList().stream().map(GrpcUtils::fromProto).collect(Collectors.toList()), SetAclContext.create(request.getOptions().toBuilder()).withTracker(new GrpcCallTracker(responseObserver)));
return SetAclPResponse.newBuilder().build();
}, "setAcl", "request=%s", responseObserver, request);
}
Aggregations