Package alluxio.cli.fsadmin
Class FileSystemAdminShell
- java.lang.Object
-
- alluxio.cli.AbstractShell
-
- alluxio.cli.fsadmin.FileSystemAdminShell
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public final class FileSystemAdminShell extends alluxio.cli.AbstractShellShell for admin to manage file system.
-
-
Constructor Summary
Constructors Constructor Description FileSystemAdminShell(alluxio.conf.AlluxioConfiguration alluxioConf)Construct a new instance ofFileSystemAdminShell.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetShellName()protected java.util.Map<java.lang.String,alluxio.cli.Command>loadCommands()static voidmain(java.lang.String[] args)Manage Alluxio file system.
-
-
-
Constructor Detail
-
FileSystemAdminShell
public FileSystemAdminShell(alluxio.conf.AlluxioConfiguration alluxioConf)
Construct a new instance ofFileSystemAdminShell.- Parameters:
alluxioConf- Alluxio configuration
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionManage Alluxio file system.- Parameters:
args- array of arguments given by the user's input from the terminal- Throws:
java.io.IOException
-
getShellName
protected java.lang.String getShellName()
- Specified by:
getShellNamein classalluxio.cli.AbstractShell
-
loadCommands
protected java.util.Map<java.lang.String,alluxio.cli.Command> loadCommands()
- Specified by:
loadCommandsin classalluxio.cli.AbstractShell
-
-