FileSystemAccess.FileSystemExecutor<java.lang.Void>@Private public static class FSOperations.FSSetOwner extends java.lang.Object implements FileSystemAccess.FileSystemExecutor<java.lang.Void>
| Constructor | Description |
|---|---|
FSSetOwner(java.lang.String path,
java.lang.String owner,
java.lang.String group) |
Creates a set-owner executor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Void |
execute(org.apache.hadoop.fs.FileSystem fs) |
Executes the filesystem operation.
|
public FSSetOwner(java.lang.String path,
java.lang.String owner,
java.lang.String group)
path - the path to set the owner.owner - owner to set.group - group to set.public java.lang.Void execute(org.apache.hadoop.fs.FileSystem fs)
throws java.io.IOException
execute in interface FileSystemAccess.FileSystemExecutor<java.lang.Void>fs - filesystem instance to use.java.io.IOException - thrown if an IO error occurred.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.