Package org.apache.hadoop.fs.http.server
Class FSOperations.FSSetOwner
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSSetOwner
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSSetOwner
extends Object
implements FileSystemAccess.FileSystemExecutor<Void>
Executor that performs a set-owner FileSystemAccess files system operation.
-
Constructor Summary
ConstructorsConstructorDescriptionFSSetOwner(String path, String owner, String group) Creates a set-owner executor. -
Method Summary
-
Constructor Details
-
FSSetOwner
Creates a set-owner executor.- Parameters:
path- the path to set the owner.owner- owner to set.group- group to set.
-
-
Method Details
-
execute
Executes the filesystem operation.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<Void>- Parameters:
fs- filesystem instance to use.- Returns:
- void.
- Throws:
IOException- thrown if an IO error occurred.
-