Well. I managed to solve that issue after running my tests on a linux
system instead of windows (which I was originally using). However, now I
have an error when I try to reset the hive context using hc.reset(). It
tries to create a file inside directory /user/my_user_name instead of the
usual
Well, I try this approach, and still have issues. Apparently TestHive can
not delete the hive metastore directory. The complete error that I have is:
15/08/06 15:01:29 ERROR Driver: FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask.
We are using a local hive context in order to run unit tests. Our unit
tests runs perfectly fine if we run why by one using sbt as the next
example:
sbt test-only com.company.pipeline.scalers.ScalerSuite.scala
sbt test-only com.company.pipeline.labels.ActiveUsersLabelsSuite.scala
However, if we
TestHive takes care of creating a temporary directory for each invocation
so that multiple test runs won't conflict.
On Mon, Aug 3, 2015 at 3:09 PM, Cesar Flores ces...@gmail.com wrote:
We are using a local hive context in order to run unit tests. Our unit
tests runs perfectly fine if we run