[ https://issues.apache.org/jira/browse/RANGER-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj reassigned RANGER-4625: ---------------------------------------- Assignee: qingzhongli [~qingzhongli] - thank you for your interest in contributing to Apache Ranger. You now have contributor access. You can assign Apache Ranger JIRAs to yourself. > Need to add required dependencies for plugin-yarn > ------------------------------------------------- > > Key: RANGER-4625 > URL: https://issues.apache.org/jira/browse/RANGER-4625 > Project: Ranger > Issue Type: Bug > Components: plugins > Reporter: qingzhongli > Assignee: qingzhongli > Priority: Major > > According to the > README.md[README.md|https://github.com/apache/ranger/blob/master/dev-support/ranger-docker/README.md], > using docker to try start ranger, the container ranger-hadoop fails to > start. If the following information is displayed: > {code:java} > + Thu Dec 21 09:29:17 UTC 2023 : Saving current config file: > /opt/hadoop/etc/hadoop/ranger-yarn-audit.xml to > /opt/hadoop/etc/hadoop/.ranger-yarn-audit.xml.20231221-092916 ... > + Thu Dec 21 09:29:17 UTC 2023 : Saving current config file: > /opt/hadoop/etc/hadoop/ranger-yarn-security.xml to > /opt/hadoop/etc/hadoop/.ranger-yarn-security.xml.20231221-092916 ... > + Thu Dec 21 09:29:17 UTC 2023 : Saving current config file: > /opt/hadoop/etc/hadoop/yarn-site.xml to > /opt/hadoop/etc/hadoop/.yarn-site.xml.20231221-092916 ... > + Thu Dec 21 09:29:18 UTC 2023 : Saving lib file: > /opt/hadoop/share/hadoop/hdfs/lib/ranger-plugin-classloader-2.4.0.jar to > /opt/hadoop/share/hadoop/hdfs/lib/.ranger-plugin-classloader-2.4.0.jar.20231221092918 > ... > Unable to store password in non-plain text format. Error: [SLF4J: Failed to > load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: Defaulting to no-operation (NOP) logger implementation > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further > details. > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/logging/LogFactory > at org.apache.hadoop.fs.FileSystem.<clinit>(FileSystem.java:170) > at org.apache.hadoop.fs.Path.getFileSystem(Path.java:365) > 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:74) > 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.commons.logging.LogFactory > 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) > ... 11 more] > Exiting plugin installation > 2023-12-21 09:29:20,453 INFO namenode.NameNode: STARTUP_MSG: > /************************************************************ > STARTUP_MSG: Starting NameNode > STARTUP_MSG: host = ranger-hadoop.example.com/172.18.0.7 > STARTUP_MSG: args = [-format] > STARTUP_MSG: version = 3.3.0 {code} > I think need to add required dependencies for plugin-yarn -- This message was sent by Atlassian Jira (v8.20.10#820010)