Skip to content

Conversation

@zhangbutao
Copy link
Contributor

@zhangbutao zhangbutao commented Nov 4, 2025

What changes were proposed in this pull request?

Add dnsjava dependency into the java-based beeline tar package, to fix the 'DnsjavaInetAddressResolverProvider not found' exception.

Why are the changes needed?

See details from HIVE-29303

Does this PR introduce any user-facing change?

No

How was this patch tested?

Local test.

  1. Build the beeline tar package
    mvn clean install -DskipTests -Pdist

you can see the beeline tar package in the package target dir:
./packaging/target/apache-hive-beeline-4.2.0-SNAPSHOT.tar.gz

And you can see the dnsjava-3.6.1.jar from the dir apache-hive-beeline-4.2.0-SNAPSHOT/lib/

  1. Login in the java-based Beeline client to see if having any exception
    ./packaging/target/apache-hive-beeline-4.2.0-SNAPSHOT/bin/beeline -u "jdbc:hive2://127.0.0.1:10000/default hive"

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2025

@dengzhhu653 dengzhhu653 merged commit a7aee1b into apache:master Nov 5, 2025
4 checks passed
@dengzhhu653
Copy link
Member

Thank you for the PR, @zhangbutao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants