Re: Hive unit testing in other projects

2016-08-09 Thread Matt Burgess
I am interested in this as well, we have Hive processors (in Apache NiFi) but have been using Derby to test the processor logic (not necessarily the interaction with Hive). With an embedded/small Hive it would be an integration test but still would help a great deal to iron out bugs. Regards, Matt

Hive unit testing in other projects

2016-08-09 Thread Chris Teoh
Hi folks, I'm working on a Sqoop patch that imports to Hive and am wondering what's the easiest way to incorporate a unit test that uses a mini Hive server without requiring a full dependency on Hive project? Kind Regards Chris

Re: Hive unit testing and MySQL driver

2014-05-29 Thread Szehon Ho
I havent seen that error before, and cant think why it would need mysql driver. The tests run with Derby out of the box. Did you modify some dependencies? Can you paste the exact error you see? Thanks Szehon On Wed, May 28, 2014 at 5:10 PM, Pavel Chadnov wrote: > Hello, > > I'm trying to ma

Hive unit testing and MySQL driver

2014-05-28 Thread Pavel Chadnov
Hello, I'm trying to make sure that unit tests are passed on my local machine for Hive 0.13 but for ql module I get a java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. I'm running the tests using line: "mvn test -Phadoop-2" How can I have the tests passed? Thank you -- Regards, Pavel Chad

Hive unit testing

2014-03-13 Thread José Rozanec
Hello, I just wanted to share some code I forked and contributed to, trying to get a tool similar to PigUnit: https://github.com/jmrozanec/hive_test I'll be happy to hear opinions. Regards, Joze.