You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "huayucai (via GitHub)" <gi...@apache.org> on 2023/06/28 06:58:14 UTC
[GitHub] [ranger] huayucai opened a new pull request, #268: add dnsjava to solve NoDefClassException
huayucai opened a new pull request, #268:
URL: https://github.com/apache/ranger/pull/268
## What changes were proposed in this pull request?
when setting "hadoop.security.token.service.use_ip=false" in core-site.xml (configuration in hadoop) ,we encounter a NoClassDefFoundError of "Could not initialize class org.apache.hadoop.security.SecurityUtil". It is caused by lacking a dependency of dnsjava. We have already tested that it affects ranger-admin、ranger-kms、ranger-usersync、ranger-kafka-plugin. When start up the server,the problem will be seen.
## How was this patch tested?
After using maven to build project, the jar 'dnsjava-xxx.jar' should be added to the package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org