Simple script to turn on qubole clusters
To access qubole's API, you'll have to obtain an API key
export QUBOLE_TOKEN=<API KEY>
-
To get the status of cluster
qubole state --cluster USERNAME
Example
qubole state --cluster wesley Cluster wesley UP Ganglia: https://us.qubole.com/ganglia-metrics-19436/
-
Toggle cluster between
UP
andDOWN
statequbole toggle --cluster USERNAME
pip install pyqubole