Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dnsjava to solve NoDefClassException #268

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

huayucai
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant