ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Polavarapu (Jira)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-2785) Ranger Ozone plugin does not include configuration jars
Date Wed, 08 Apr 2020 18:25:00 GMT

     [ https://issues.apache.org/jira/browse/RANGER-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sailaja Polavarapu updated RANGER-2785:
---------------------------------------
    Attachment: 0001-RANGER-2785-Ranger-Ozone-plugin-does-not-include-con.patch

> Ranger Ozone plugin does not include configuration jars
> -------------------------------------------------------
>
>                 Key: RANGER-2785
>                 URL: https://issues.apache.org/jira/browse/RANGER-2785
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 2.0.0
>            Reporter: Vivek Ratnavel Subramanian
>            Assignee: Sailaja Polavarapu
>            Priority: Major
>         Attachments: 0001-RANGER-2785-Ranger-Ozone-plugin-does-not-include-con.patch
>
>
> When TLS is enabled, Ozone fails to connect with Ranger with the following error:
> {code:java}
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/configuration2/ConfigurationException
in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/configuration2/Configuration
at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<init>(DefaultMetricsSystem.java:43)
at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(DefaultMetricsSystem.java:41)
at org.apache.hadoop.security.UserGroupInformation$UgiMetrics.create(UserGroupInformation.java:149)
at org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:282)
at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:3591) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:3581)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3418) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:513)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361) at org.apache.hadoop.security.alias.JavaKeyStoreProvider.initFileSystem(JavaKeyStoreProvider.java:89)
at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.<init>(AbstractJavaKeyStoreProvider.java:85)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:49)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:41)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:100)
at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:73)
at org.apache.ranger.credentialapi.CredentialReader.getDecryptedString(CredentialReader.java:59)
at org.apache.ranger.credentialapi.buildks.createCredential(buildks.java:80) at org.apache.ranger.credentialapi.buildks.main(buildks.java:40)Caused
by: java.lang.ClassNotFoundException: org.apache.commons.configuration2.Configuration at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
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) ... 18 more
> {code}
> The plugin requires the following two jars:
> commons-configuration-1.10.jar
> commons-configuration2-2.1.1.jar



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message