Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Spark Unit Test That reads a Hive Table

Spark Unit Test That reads a Hive Table

Champion Alumni

Hello!

 

I'm trying to make a unit test in spark that reads from a hive table

As far as I saw I have to extend QueryTest with TestHiveSingleton

 

However, I cannot manage to import QueryTest!

(which is supposed to be in org.apache.spark.sql)

 

I'm already imported the spark_sql_2.10. I tried to import the assembly also (no results).

 

Note: I am in CDH 5.8.2

 

 

Thank you!

 

 

GHERMAN Alina
2 REPLIES 2

Re: Spark Unit Test That reads a Hive Table

New Contributor

Please did you solve the problem ?

Re: Spark Unit Test That reads a Hive Table

New Contributor
Any resolution for the above one?
Don't have an account?
Coming from Hortonworks? Activate your account here