I did some looking around on the wiki, and couldn't find any examples connecting to the Thrift server using Java. I understand that JDBC is the preferred way with Java, but it seems that the Thrift client has a few additions that I would like to use (for example getQueryPlan).
For the convenience of others, I've posted a gist with some examples of connecting to the Hive ThriftServer using Java here: https://gist.github.com/ZenBowman/9492608 Could we add some examples to the wiki on using the Thrift Client? Thanks, Prasan