linkedin / linkedin/transport

Transport should depend on hive-exec core jar for the test framework

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
306
Forks
75
PR merge metrics
No merged PRs in 30d

Description

`org.apache.hive:hive-exec` bundles in some transitive dependencies (e.g. guava) without shading them. This causes classpath issues in the test framework as user is not able to depend on newer guava version. Instead we should use `org.apache.hive:hive-exec:core` jar which does not bundle transitive dependencies. This way, guava dependencies can be manipulated through Gradle dependency resolution if required.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Gradle dependency declaration for the test framework and inspect how it currently resolves org.apache.hive:hive-exec. Change the dependency to the core jar, then verify that the framework no longer receives bundled transitive dependencies such as Guava and that dependency resolution can select the required Guava version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.