Class CreateContainerGroups

java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.cldb.tools.CreateContainerGroups
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class CreateContainerGroups extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
  • Field Details

    • DEFAULT_CREATE_CONTAINER_GROUP_COUNT

      public final int DEFAULT_CREATE_CONTAINER_GROUP_COUNT
      See Also:
    • MAX_CREATE_CONTAINER_GROUP_COUNT

      public final int MAX_CREATE_CONTAINER_GROUP_COUNT
      See Also:
  • Constructor Details

    • CreateContainerGroups

      public CreateContainerGroups()
  • Method Details

    • run

      public int run(String[] args) throws Exception
      Specified by:
      run in interface org.apache.hadoop.util.Tool
      Throws:
      Exception
    • parseArgs

      public void parseArgs(String[] args) throws Exception
      Throws:
      Exception
    • validateArgs

      public void validateArgs()
    • Usage

      public static void Usage(String errorMsg)
    • sendRequestToCLDB

      public int sendRequestToCLDB(String volumeName, int count)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception