Class MoveReplicaGroup
- java.lang.Object
-
- org.apache.pinot.tools.AbstractBaseCommand
-
- org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
-
- org.apache.pinot.tools.admin.command.MoveReplicaGroup
-
public class MoveReplicaGroup extends AbstractBaseAdminCommand implements Command
Command to migrate a subset of replica group from current servers to the provided destination servers. This command is intended to be run multiple times to migrate all the replicas of a table to the destination servers (if intended).
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.tools.AbstractBaseCommand
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description MoveReplicaGroup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Stringdescription()booleanexecute()booleangetHelp()StringgetName()static voidmain(String[] args)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
-
getName
public String getName()
- Overrides:
getNamein classAbstractBaseCommand
-
description
public String description()
- Specified by:
descriptionin interfaceCommand
-
cleanup
public void cleanup()
- Overrides:
cleanupin classAbstractBaseCommand
-
execute
public boolean execute() throws IOException, InterruptedException- Specified by:
executein interfaceCommand- Throws:
IOExceptionInterruptedException
-
-