[
https://issues.apache.org/jira/browse/RANGER-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863849#comment-17863849
]
Madhan Neethiraj edited comment on RANGER-4807 at 7/8/24 7:28 PM:
------------------------------------------------------------------
[~zhongwei11] - thank you for the updated patch. There were few more test
failures (listed below), all are due to missing jackson library dependency.
Attached [^RANGER-4807-4.patch] includes fix to address these failures. Please
review and update.
{noformat}
[ERROR] KafkaRangerAuthorizerGSSTest.setup:151 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] KafkaRangerAuthorizerTest.setup:147 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] KafkaRangerTopicCreationTest.setup:131 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] RangerSystemAccessControlTest.setUpBeforeClass:70 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] RangerSystemAccessControlTest.setUpBeforeClass:70 » NoClassDefFound
com/fasterxml/jackson/annotation/JsonKey
[ERROR] RangerSqoopAuthorizerTest.setup:96->initSqoopAuth:132 »
NoClassDefFound com/fasterxml/jackson/core/util/JacksonFeature {noformat}
In addition, Ranger KMS fails to startup. Following failure during KMS plugin
installation is likely the root cause:
{noformat}
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/thirdparty/com/google/common/base/Preconditions
at
org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:430)
at
org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:443)
at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:525)
at
org.apache.ranger.credentialapi.CredentialReader.getDecryptedString(CredentialReader.java:39)
at org.apache.ranger.credentialapi.buildks.createCredential(buildks.java:87)
at org.apache.ranger.credentialapi.buildks.main(buildks.java:41)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.thirdparty.com.google.common.base.Preconditions
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 6 more]
Exiting plugin installation
Installation of Ranger KMS is completed.
Starting Apache Ranger KMS.
Starting Apache Ranger KMS Service
Apache Ranger KMS Service failed to start
Ranger KMS process probably exited, no process id found! {noformat}
was (Author: madhan.neethiraj):
[~zhongwei11] - thank you for the updated patch. There were few more test
failures (listed below), all are due to missing jackson library dependency.
Attached [^RANGER-4807-4.patch] includes fix to address these failures. Please
review and update.
{noformat}
[ERROR] KafkaRangerAuthorizerGSSTest.setup:151 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] KafkaRangerAuthorizerTest.setup:147 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] KafkaRangerTopicCreationTest.setup:131 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] RangerSystemAccessControlTest.setUpBeforeClass:70 » NoClassDefFound
com/fasterxml/jackson/core/util/JacksonFeature
[ERROR] RangerSystemAccessControlTest.setUpBeforeClass:70 » NoClassDefFound
com/fasterxml/jackson/annotation/JsonKey
[ERROR] RangerSqoopAuthorizerTest.setup:96->initSqoopAuth:132 »
NoClassDefFound com/fasterxml/jackson/core/util/JacksonFeature {noformat}
> Upgrade Hadoop to 3.3.3
> -----------------------
>
> Key: RANGER-4807
> URL: https://issues.apache.org/jira/browse/RANGER-4807
> Project: Ranger
> Issue Type: Bug
> Components: admin, plugins, usersync
> Affects Versions: 2.2.0, 2.3.0, 2.4.0
> Reporter: wangzhongwei
> Assignee: wangzhongwei
> Priority: Major
> Attachments: RANGER-4807-1.patch, RANGER-4807-4.patch,
> RANGER-4807.patch, example.png, image-2024-07-01-15-11-18-321.png,
> image-2024-07-01-15-12-33-802.png, image-2024-07-01-15-17-54-668.png
>
>
> Upgrade Hadoop3.3.0 to 3.3.3 to fix
> https://nvd.nist.gov/vuln/detail/CVE-2022-25168
--
This message was sent by Atlassian Jira
(v8.20.10#820010)