Is there a connector between Apache Hive and Scala so I could write code in Scala that could execute hive commands? I was thinking of Shark and Spark, but they don't seem like they would do the job...
Asked
Active
Viewed 2,354 times
1 Answers
1
It's very easy to call Java libraries from Scala code; you should be able to just use the Hive Java API.

Joe K
- 18,204
- 2
- 36
- 58
-
do you mean this: https://cwiki.apache.org/confluence/display/Hive/HiveJDBCInterface – vsingal5 Jul 16 '13 at 22:49
-
You can use the JDBC interface, but you can also use the java/thrift client. [Here's the javadoc.](http://hive.apache.org/docs/r0.10.0/api/) I'm having trouble finding good documentation, but you can try googling around. – Joe K Jul 17 '13 at 00:10
-
Thanks Joe! Really appreciate it :) – vsingal5 Jul 17 '13 at 18:23