Package org.apache.hadoop.fs.http.server
Class FSOperations.FSGetServerDefaults
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSGetServerDefaults
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<String>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSGetServerDefaults
extends Object
implements FileSystemAccess.FileSystemExecutor<String>
Executor that performs a getServerDefaults operation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FSGetServerDefaults
public FSGetServerDefaults()Creates a getServerDefaults executor.
-
-
Method Details
-
execute
Executes the filesystem operation.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<String>- Parameters:
fs- filesystem instance to use.- Returns:
- A JSON string.
- Throws:
IOException- thrown if an IO error occurred.
-