Class StartMinionCommand
- java.lang.Object
-
- org.apache.pinot.tools.AbstractBaseCommand
-
- org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
-
- org.apache.pinot.tools.admin.command.StartMinionCommand
-
public class StartMinionCommand extends AbstractBaseAdminCommand implements Command
Class to implement StartMinion command.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.tools.AbstractBaseCommand
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description StartMinionCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Stringdescription()booleanexecute()booleangetHelp()StringgetName()StartMinionCommandsetClusterName(String clusterName)voidsetConfigFileName(String configFileName)StartMinionCommandsetConfigOverrides(Map<String,Object> configs)StartMinionCommandsetMinionHost(String minionHost)StartMinionCommandsetMinionPort(int minionPort)StartMinionCommandsetZkAddress(String zkAddress)StringtoString()-
Methods inherited from class org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequest, sendRequest
-
Methods inherited from class org.apache.pinot.tools.AbstractBaseCommand
printExamples, printUsage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.tools.Command
call, printUsage
-
-
-
-
Method Detail
-
setConfigOverrides
public StartMinionCommand setConfigOverrides(Map<String,Object> configs)
-
getName
public String getName()
- Overrides:
getNamein classAbstractBaseCommand
-
cleanup
public void cleanup()
- Overrides:
cleanupin classAbstractBaseCommand
-
description
public String description()
- Specified by:
descriptionin interfaceCommand
-
execute
public boolean execute() throws Exception
-
setMinionHost
public StartMinionCommand setMinionHost(String minionHost)
-
setMinionPort
public StartMinionCommand setMinionPort(int minionPort)
-
setZkAddress
public StartMinionCommand setZkAddress(String zkAddress)
-
setClusterName
public StartMinionCommand setClusterName(String clusterName)
-
setConfigFileName
public void setConfigFileName(String configFileName)
-
-