Package alluxio.cli.fsadmin.journal
Class QuorumCommand
- java.lang.Object
-
- alluxio.cli.fsadmin.command.AbstractFsAdminCommand
-
- alluxio.cli.fsadmin.journal.QuorumCommand
-
- All Implemented Interfaces:
alluxio.cli.Command,java.io.Closeable,java.lang.AutoCloseable
public class QuorumCommand extends AbstractFsAdminCommand
Command for seeing/managing quorum state of embedded journal.
-
-
Field Summary
-
Fields inherited from class alluxio.cli.fsadmin.command.AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream
-
-
Constructor Summary
Constructors Constructor Description QuorumCommand(Context context, alluxio.conf.AlluxioConfiguration alluxioConf)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringdescription()java.lang.StringgetCommandName()java.lang.StringgetDescription()java.util.Map<java.lang.String,alluxio.cli.Command>getSubCommands()java.lang.StringgetUsage()static alluxio.grpc.NetAddressstringToAddress(java.lang.String serverAddress)
-
-
-
Constructor Detail
-
QuorumCommand
public QuorumCommand(Context context, alluxio.conf.AlluxioConfiguration alluxioConf)
- Parameters:
context- fsadmin command contextalluxioConf- Alluxio configuration
-
-
Method Detail
-
description
public static java.lang.String description()
- Returns:
- command's description
-
getSubCommands
public java.util.Map<java.lang.String,alluxio.cli.Command> getSubCommands()
-
getCommandName
public java.lang.String getCommandName()
-
getUsage
public java.lang.String getUsage()
-
getDescription
public java.lang.String getDescription()
-
stringToAddress
public static alluxio.grpc.NetAddress stringToAddress(java.lang.String serverAddress) throws alluxio.exception.status.InvalidArgumentException- Parameters:
serverAddress- the string containing the hostname and port separated by a ':- Returns:
- a NetAddress object composed of a hostname and a port
- Throws:
alluxio.exception.status.InvalidArgumentException
-
-