You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/06/19 23:12:22 UTC
[GitHub] [incubator-pinot] satishbellapu commented on issue #5580: Refactor start/stop commands
satishbellapu commented on issue #5580:
URL: https://github.com/apache/incubator-pinot/issues/5580#issuecomment-646892388
If you are designing CLI here are the few suggestions,
Command should be #pinot in the terminal,
```
Usage:
pinot [command] [options]
Available Commands:
start
stop
Available Options:
batch (quickstart-batch)
stream (quickstart-stream)
hybrid (quickstart-hybrid)
zookeeper(standalone-zookeeper or clustered-zookeeper)
services(standalone-services)
controller(clustered-service)
broker(clustered-service)
server(clustered-service)
Flags:
-h, --help
-v, --verbose etc.
```
```
export **PINOT_CONF**=/some/location/<all-in-one.config> or <zoo.cfg> or <controller.config> or <broker.config> or <server.config>
export **PINOT_MODE**=quickstart / standalone / clustered
```
`Use " pinot [command] [options] --help" for more information about a command.`
Instead of passing the configurations to the commands we can export the configuration folder so based on the options choice, it can select expected configurations, this will be more flexible in the future for expanding to other options.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org