(subparsers)
| 940 | add_common_options(sub_parser) |
| 941 | |
| 942 | def initialize_ui_subcommand(subparsers): |
| 943 | command_help = """ |
| 944 | Launches the UI daemon. The UI provides a web interface for a Storm |
| 945 | cluster and shows detailed stats about running topologies. This command |
| 946 | should be run under supervision with a tool like daemontools or monit. |
| 947 | |
| 948 | See Setting up a Storm cluster for more information. |
| 949 | (https://storm.apache.org/documentation/Setting-up-a-Storm-cluster) |
| 950 | """ |
| 951 | sub_parser = subparsers.add_parser("ui", help=command_help, formatter_class=SortingHelpFormatter) |
| 952 | sub_parser.set_defaults(func=ui) |
| 953 | add_common_options(sub_parser) |
| 954 | |
| 955 | |
| 956 | def initialize_logviewer_subcommand(subparsers): |
no test coverage detected