python paictl.py service start -p /path/to/cluster-configuration/dir [ -n service-name ]
- Starting all service in your cluster.
- If the option -n is set, only the target service will be deployed.
python paictl.py service stop -p /path/to/cluster-configuration/dir [ -n service-name ]
- Stop all service in your cluster.
- If the option -n is set, only the target service will be stopped.
python paictl.py service delete -p /path/to/cluster-configuration/dir [ -n service-name ]
- Firstly, it will stop all service on your cluster.
- Secondly, it will delete all service data which has been persistenced on the local host such as hdfs, yarn, zookeeper etc.
- If the option -n is set, only the target service will be stopped and deleted.
python paictl.py service refresh -p /path/to/cluster-configuration/dir [ -n service-name ]
- Update the configmap
- Remove the machine's label without the service
- re-label the machine with the service