/qubole

Python wrapper to start / stop qubole cluster and get state

Primary LanguagePythonMIT LicenseMIT

Introduction

Simple script to turn on qubole clusters

Usage

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 and DOWN state

    qubole toggle --cluster USERNAME
    

Installation

pip install pyqubole

License