Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alindeman/hive-msgpack
Runs a Hive query, returning results as msgpack
https://github.com/alindeman/hive-msgpack
Last synced: about 1 month ago
JSON representation
Runs a Hive query, returning results as msgpack
- Host: GitHub
- URL: https://github.com/alindeman/hive-msgpack
- Owner: alindeman
- License: mit
- Created: 2013-11-09T17:43:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-10T23:57:05.000Z (about 11 years ago)
- Last Synced: 2024-10-20T07:43:04.668Z (2 months ago)
- Language: Clojure
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hive-msgpack
A small clojure application that runs a [Hive](http://hive.apache.org/) query
and spits out the results as a msgpack stream. Uses the Hive JDBC adapter.## Usage
Download [a release](https://github.com/alindeman/hive-msgpack/releases) or
compile it yourself with `lein uberjar`.Then fire away:
```bash
$ java -jar hive-msgpack.jar -o /tmp/output.msgpack 'select * from foo'
```By default, hive-msgpack assumes you are running `hive --service hiveserver`
on `localhost:10000` (the defaults). A different host or port can be
specified with the `--host` and `--port` switches.Run `java -jar hive-msgpack.jar --help` for examples and defaults.