{"id":21268993,"url":"https://github.com/qubole/qds-sdk-ruby","last_synced_at":"2025-07-11T05:30:44.641Z","repository":{"id":49884623,"uuid":"71772491","full_name":"qubole/qds-sdk-ruby","owner":"qubole","description":"Ruby SDK for Qubole API","archived":false,"fork":false,"pushed_at":"2021-06-09T00:06:53.000Z","size":21,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-04-17T22:49:34.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://qubole.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qubole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-24T09:20:54.000Z","updated_at":"2024-04-17T22:49:34.763Z","dependencies_parsed_at":"2022-09-11T23:22:13.330Z","dependency_job_id":null,"html_url":"https://github.com/qubole/qds-sdk-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubole%2Fqds-sdk-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubole%2Fqds-sdk-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubole%2Fqds-sdk-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubole%2Fqds-sdk-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qubole","download_url":"https://codeload.github.com/qubole/qds-sdk-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225693821,"owners_count":17509227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T08:06:59.952Z","updated_at":"2024-11-21T08:07:00.564Z","avatar_url":"https://github.com/qubole.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qubole\n\nQubole REST API client\n\n[![Build Status](https://travis-ci.org/qubole/qds-sdk-ruby.svg?branch=master)](https://travis-ci.org/qubole/qds-sdk-ruby)\n[![Gem Version](https://badge.fury.io/rb/qubole.svg)](http://badge.fury.io/rb/qubole)\n\n## Documentation\n\n[API Documentation](https://www.rubydoc.info/github/qubole/qds-sdk-ruby/master)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'qubole'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install qubole\n\n## Usage\n\n\t\trequire 'qubole'\n\n\t\t# Configure Qubole with api_token and optional API version\n\t\tQubole.configure(api_token: 'ksbdvcwdkjn123423', version: 'v1.2')\n\n\t\t# Submit Command\n\t\tcommand = Qubole::Commands::Hive.new\n\t\tcommand.submit(query: \"SHOW TABLES\", label: \"custom cluster\")\n\t\tcommand.status # =\u003e \"waiting\"\n\t\tcommand.refresh!\n\t\tcommand.status # =\u003e \"done\"\n\t\tcommand.results # =\u003e {\"results\"=\u003e\"default_qubole_airline_origin_destination\\r\\ndefault_qubole_memetracker\\r\\n\", \"inline\"=\u003etrue}\n\t\tid = command.id\n\t\tcommand = Qubole::Command.find(id)\n\t\tcommand.logs # =\u003e \"OK\\n  Time taken: 3.017 seconds, Fetched: 2 row(s)\"\n\n## Implemented\n\n[Qubole REST API](http://docs.qubole.com/en/latest/rest-api/index.html) version v1.2\n\n- [x] Authentication\n- [x] Command API\n\t- [x] Submit a Command\n\t- [x] View Command Status\n\t- [x] View Command Results\n\t- [x] View Command Logs\n\t- [x] View Hadoop Jobs Spawned By a Command\n\t- [x] Cancel a Command\n\t- [x] View Command History\n\t- [x] Composite Command\n\t- [x] DB Export Command\n\t- [x] DB Import Command\n\t- [x] DB Tap Query Command\n\t- [x] Hadoop Jar Command\n\t- [x] Hive Command\n\t- [x] Pig Command\n\t- [x] Presto Command\n\t- [x] Shell Command\n\t- [x] Spark Command\n- [ ] Hive Metadata API\n\t- [ ] List Tables\n\t- [ ] Get Table Definition\n\t- [ ] Get Table Properties\n\t- [ ] Store Table Properties\n\t- [ ] Delete Table Properties\n- [ ] DbTap API\n\t- [ ] List DbTaps\n\t- [ ] View a DbTap\n\t- [ ] List Tables in a DbTap\n\t- [ ] Create a DbTap\n\t- [ ] Edit a DbTap\n\t- [ ] Delete a DbTap\n- [ ] Scheduler API\n\t- [ ] List Schedules\n\t- [ ] View a Schedule\n\t- [ ] Create a Schedule\n\t- [ ] Suspend,Resume or Kill a Schedule\n\t- [ ] List Schedule Actions\n\t- [ ] View a Schedule’s Action\n\t- [ ] Kill a Schedule Action\n\t- [ ] Rerun a Scheduled Action\n\t- [ ] List All Actions\n\t- [ ] View an Action\n- [ ] Reports API\n\t- [ ] All Commands Report\n\t- [ ] Canonical Hive Commands Report\n\t- [ ] Cluster nodes Report\n- [x] Cluster API\n\t- [x] List All Clusters\n\t- [x] Create a New Cluster\n\t- [x] View Cluster Configuration\n\t- [x] Edit Cluster Configuration\n\t- [x] Clone a Cluster\n\t- [x] Start or Terminate a Cluster\n\t- [x] Check Cluster Status\n\t- [x] Delete a Cluster\n\t- [x] Reassign Cluster Label\n\t- [x] Run Adhoc Scripts on a Cluster\n\t- [x] Cluster Metrics\n\t- [x] Add a Node to a Cluster\n\t- [x] Replace a Node in a Cluster\n\t- [x] Remove a Node from a Cluster\n\t- [x] Take an HBase Snapshot\n\t- [x] View an HBase Snapshot Schedule\n\t- [x] Restore HBase Tables\n\t- [x] Update an HBase Snapshot Schedule\n\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/qubole/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubole%2Fqds-sdk-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubole%2Fqds-sdk-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubole%2Fqds-sdk-ruby/lists"}