Testing hive modules on windows without setting up chaos

I am looking to see if there is a way to run Hive unit tests (e.g. testing test requests) on Windows without having to install hadoop / hive / cygwin. Going through these open source tools (Hive_runner, HiveTest), tried to run a hiverunner in Eclipse as a maven project, his JUnit tests failed with the following warning and error

A warning. It is not possible to load the native-hadoop library for your platform .... using the built-in Java classes, where applicable. Error: Failed to set path resolution? until 0700

Thanks Srivatsan Nallajagappan

+6
source share
1 answer

The open source project HiveQLUnit solves your problem of running stand-alone unit tests from your favorite IDE. Check it out @ HiveQLUnit

It can run unit tests from your favorite IDE on any operating system, including Windows, Linux, and Mac OSX. Here are some guidelines for starting it from your IDE - Starting HiveQLUnit

Note. I am associated with the HiveQLUnit OS project.

0
source

Source: https://habr.com/ru/post/969427/


All Articles