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

Function initialize_kill_workers_subcommand

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

Source from the content-addressed store, hash-verified

805
806
807def initialize_kill_workers_subcommand(subparsers):
808 sub_parser = subparsers.add_parser(
809 "kill_workers", help="""Kill the workers running on this supervisor. This command should be run
810 on a supervisor node. If the cluster is running in secure mode, then user needs
811 to have admin rights on the node to be able to successfully kill all workers.""", formatter_class=SortingHelpFormatter
812 )
813
814 sub_parser.set_defaults(func=kill_workers)
815 add_common_options(sub_parser)
816
817
818def initialize_admin_subcommand(subparsers):

Callers 1

initialize_main_commandFunction · 0.85

Calls 1

add_common_optionsFunction · 0.85

Tested by

no test coverage detected