Class 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 Detail

      • DEFAULT_CREATE_CONTAINER_GROUP_COUNT

        public final int DEFAULT_CREATE_CONTAINER_GROUP_COUNT
        See Also:
        Constant Field Values
      • MAX_CREATE_CONTAINER_GROUP_COUNT

        public final int MAX_CREATE_CONTAINER_GROUP_COUNT
        See Also:
        Constant Field Values
    • Constructor Detail

      • CreateContainerGroups

        public CreateContainerGroups()
    • Method Detail

      • run

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

        public void parseArgs​(java.lang.String[] args)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateArgs

        public void validateArgs()
      • Usage

        public static void Usage​(java.lang.String errorMsg)
      • sendRequestToCLDB

        public int sendRequestToCLDB​(java.lang.String volumeName,
                                     int count)
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception