hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-29284 Remove tight yarn-registry coupling from hive-exec

Open ishnagy opened this issue 2 months ago • 21 comments

What changes were proposed in this pull request?

I am proposing to remove the tight dependency coupling between hive-exec and hadoop-yarn-registry (to address HIVE-29284).

Why are the changes needed?

hive-exec pulls in hadoop-yarn-registry as a direct dependency, but registry classes are only used for building a local resource map for LLAP. This map can be built without the actual class instances getting loaded, using class name literals only. Removing hadoop-yarn-registry as a direct dependency will prevent pulling in its whole transitive dependency tree when one only wants to use hive-exec functionality without LLAP. (e.g apache spark)

Does this PR introduce any user-facing change?

No

How was this patch tested?

This patch will be tested by the pre merge tests executed for this pull request.

ishnagy avatar Oct 21 '25 12:10 ishnagy

PR https://github.com/prestodb/presto/pull/25685 fixes this.

nmahadevuni avatar Dec 05 '25 12:12 nmahadevuni