My bad. I meant that use Hive's java API to do raw mapreduce things, not drive a sql. Sorry!
On Wed, Feb 25, 2009 at 12:05 AM, Edward Capriolo <[email protected]>wrote: > One way to interact with hive is by starting hives thrift server. If > you want to use the raw java API, I stole some code from the Command > Line Interface and made a simple driver program. (I attached it). > > You could also take a look at the source hwi folder. That is how we > have multiple hive clients started inside a web application. > > I would suggest the thrift service as that should present yoru client > program with a stable API. If you just make a work-alike program like > TestHive upstream changes may be an issue down the line. > -- My research interests are distributed systems, parallel computing and bytecode based virtual machine. http://coderplay.javaeye.com
