Support Questions
Find answers, ask questions, and share your expertise

How can I use Hive inside a Spark script that I submit with Livy2 REST calls

I'm working with a keberized HDP 2.6 cluster together with Zeppelin, Livy2, Hive2 and Spark and everything is working well. Instead of using Zeppeling to create the Spark/Hive context via Livy interpreter, I would like to submit a Spark application directly via Livy2 RESTful calls. Simple Scala code are working well but I can't connect Hive inside this application. How can I do that?