MCPcopy Create free account
hub / github.com/apache/storm / initialize_remoteconfvalue_subcommand

Function initialize_remoteconfvalue_subcommand

bin/storm.py:360–370  ·  view source on GitHub ↗
(subparsers)

Source from the content-addressed store, hash-verified

358
359
360def initialize_remoteconfvalue_subcommand(subparsers):
361 command_help = '''Prints out the value for conf-name in the cluster's Storm configs.
362 The cluster's Storm configs are the ones in $STORM-PATH/conf/storm.yaml
363 merged in with the configs in defaults.yaml.
364
365 This command must be run on a cluster machine.'''
366
367 sub_parser = subparsers.add_parser("remoteconfvalue", help=command_help, formatter_class=SortingHelpFormatter)
368 sub_parser.add_argument("conf_name")
369 sub_parser.set_defaults(func=print_remoteconfvalue)
370 add_common_options(sub_parser)
371
372
373def add_common_options(parser, main_args=True):

Callers 1

initialize_main_commandFunction · 0.85

Calls 1

add_common_optionsFunction · 0.85

Tested by

no test coverage detected