Class ServiceLauncher.MinimalGenericOptionsParser

java.lang.Object
org.apache.hadoop.util.GenericOptionsParser
org.apache.hadoop.service.launcher.ServiceLauncher.MinimalGenericOptionsParser
Enclosing class:
ServiceLauncher<S extends Service>

protected static class ServiceLauncher.MinimalGenericOptionsParser extends GenericOptionsParser
A generic options parser which does not parse any of the traditional Hadoop options.
  • Constructor Details

  • Method Details

    • buildGeneralOptions

      protected org.apache.commons.cli.Options buildGeneralOptions(org.apache.commons.cli.Options opts)
      Overrides:
      buildGeneralOptions in class GenericOptionsParser
      Parameters:
      opts - input opts.
      Returns:
      Specify properties of each generic option. Important: as Option is not thread safe, subclasses must synchronize use on Option.class