Details
Description
ranger-admin start fail when policymgr_http_enabled equal to false. The error log is as following:
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions at org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:328) at org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:341) at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:423) at org.apache.ranger.server.tomcat.EmbeddedServer.getDecryptedString(EmbeddedServer.java:398) at org.apache.ranger.server.tomcat.EmbeddedServer.start(EmbeddedServer.java:135) at org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:69) Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more
Verify steps:
1. Modify install.properties.
The ssl properties configuration are as following:
policymgr_http_enabled=false
policymgr_https_keystore_file=/diskc/installranger/ssl/keystore
policymgr_https_keystore_keyalias=mysqlClientCertificate
policymgr_https_keystore_password=testverify$
2. Run setup.sh to install Ranger Admin.
3. Run ranger-admin start to start Ranger Admin.
Attachments
Attachments
Issue Links
- links to