amplab/shark — pull request #31 by harsha2010 (2012-07-10 04:04:40+00:00)
Title: Thrift interface/ Hive Server integration for Shark

Hi

For a prototype we are working on, we needed to expose a JDBC/ODBC interface to Shark. I am submitting the initial cut of this code for integration onto the Shark codebase.
The changes to bin/shark and the scripts in bin/ext are very similar to hive's shell scripts and allow us to run either the shark server or cli as needed.
bin/shark brings up the command line as usual, whereas
bin/shark --service sharkserver brings up shark server on port 10000 by default
the shark server code itself is an extension of ThriftHive with simple extension points where we delegate to SharkDriver after the thrift deserialization is done.

The code has been tested by JDBC integration tests, as well as through integration with Tableau.
To test with Tableau, launch shark server, and download Tableau along with the Cloudera ODBC Hive connector. With this, Tableau can connect to Shark server via standard ODBC urls.