https://github.com/qubole/hubot-qubole
Interaction with Qubole Data Services APIs via Hubot framework
https://github.com/qubole/hubot-qubole
hubot qds qubole
Last synced: 3 months ago
JSON representation
Interaction with Qubole Data Services APIs via Hubot framework
- Host: GitHub
- URL: https://github.com/qubole/hubot-qubole
- Owner: qubole
- License: apache-2.0
- Created: 2017-08-30T05:32:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T08:15:47.000Z (about 8 years ago)
- Last Synced: 2025-03-15T11:49:52.779Z (7 months ago)
- Topics: hubot, qds, qubole
- Language: CoffeeScript
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-qubole
Interaction with [Qubole](https://qubole.com) Data Services APIs via Hubot framework## Configuration
* Register the auth token value as an environment variables when starting your bot (as usual with Hubot scripts).
* `export HUBOT_QUBOLE_AUTH_TOKEN=your_auth_token`* If you are not working on api.qubole.com, then you can override the api endpoint as well (optional)
* `export HUBOT_QUBOLE_BASE_URL=https://.qubole.com/api/latest`If you are using Heroku to host your bot, replace `export ...` with `heroku set:config ...`.
## Adding to Your Hubot
See full instructions [here](https://github.com/github/hubot/blob/master/docs/scripting.md#npm-packages).
1. `npm install hubot-qubole --save` (updates your `package.json` file)
2. Open the `external-scripts.json` file in the root directory (you may need to create this file) and add an entry to the array (e.g. `[ 'hubot-qubole' ]`).## Commands
- `hubot command status` - Display an overall status of a command
- `hubot cluster status` - Display the status of given cluster id
- `hubot cluster nodes` - Display the nodes information of given cluster id
- `hubot cluster usage` - Show the usage statistics for the given cluster id
- `hubot schedule status` - Display the status of given schedule id
- `hubot schedule runs` - Shows the last 10 run of a given schedule
- `hubot template status` - Display the status of given template id
- `hubot template runs` - Shows the last 10 run of a given template
- `hubot note status` - Display the status of a given notebook id
- `hubot qcuh` - Shows the QCUH consumed in ongoing month