HiveRunner | Open Source unit test framework for Hive queries
kandi X-RAY | HiveRunner Summary
kandi X-RAY | HiveRunner Summary
Welcome to HiveRunner - Zero installation open source unit testing of Hive applications. Welcome to the open source project HiveRunner. HiveRunner is a unit test framework based on JUnit (4 & 5) and enables TDD development of HiveQL without the need for any installed dependencies. All you need is to add HiveRunner to your pom.xml as any other library and you're good to go. HiveRunner is under constant development. We use it extensively in all our Hive projects. Please feel free to suggest improvements both as pull requests and as written requests.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initializes the configuration
- Configure the meta - store
- Configure file system
- Configure tez execution engine
- Start the hive server
- Initialize HiveServer
- Removes trailing newlines from a string
- Runs the given method
- Runs a single test method
- Overrides the default test rule
- Creates a test rule that overrides HiveRunnerConfig
- Expand any variable substitution for the given expression
- Returns a unique hashCode
- Creates the output stream
- Loads hiveconf system overrides
- Executes the given statement
- Run the test case
- Creates the test container
- Returns an OutputStream for a HiveResource
- This method creates a hashCode of the seed
- Parse a log file
- Gets the column names from the given file
- Compares this instance with the specified object
- Evaluate and return a HiveShell
- Compares this script with another object
- Append token
HiveRunner Key Features
HiveRunner Examples and Code Snippets
Community Discussions
Trending Discussions on HiveRunner
QUESTION
I'm trying to create a WS REST using Dropwizard for getting a Hive result of a query and presenting in XML format. Each separated part of this could be done without error.
When I joined everything I reach a incompatibility between Dropwizard and hive-jdbc. Apparently hive-jdbc has jersey 1 as dependency and Dropwizard has jersey 2.
I'm not sure if this is the problem. I'd tried to exclude dependency in pom.xml, but didn't solve.
I tried to make an application just putting hive-jdbc as dependency in pom.xml file without using or importing in any part of the code, and the error still happening.
POM.XML
...ANSWER
Answered 2017-Aug-11 at 14:38Yup, its jersey conflict issue, exclude jersey 1 dependencies (com.sun.jersey) from both hive-jdbc and hadoop-core. Had ran your test application and it worked with below exclusions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HiveRunner
You can use HiveRunner like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the HiveRunner component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page