[ https://issues.apache.org/jira/browse/RANGER-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Velmurugan Periasamy updated RANGER-2478: ----------------------------------------- Fix Version/s: 2.0.0 > Exception in thread "main" java.lang.NoClassDefFoundError: > com/google/common/base/Preconditions > ----------------------------------------------------------------------------------------------- > > Key: RANGER-2478 > URL: https://issues.apache.org/jira/browse/RANGER-2478 > Project: Ranger > Issue Type: Bug > Components: plugins > Affects Versions: 2.0.0 > Reporter: David Berger > Assignee: Pradeep Agrawal > Priority: Major > Fix For: 2.0.0 > > > When running ./enable-presto-plugin.sh I get the exception below > presto@nquery-presto-coordinator-78576c75b7-rdfmq:/ranger-presto-plugin$ sudo > -E ./enable-presto-plugin.sh > Custom user is available, using custom user and default group. > INFO: Creating /presto/plugins/ranger > + Wed Jun 19 15:30:36 UTC 2019 : presto: lib folder=/presto/plugins/ranger > conf folder=/presto/etc > + Wed Jun 19 15:30:36 UTC 2019 : Saving current config file: > /presto/etc/ranger-policymgr-ssl.xml to > /presto/etc/.ranger-policymgr-ssl.xml.20190619-153036 ... > + Wed Jun 19 15:30:37 UTC 2019 : Saving current config file: > /presto/etc/ranger-presto-audit.xml to > /presto/etc/.ranger-presto-audit.xml.20190619-153036 ... > + Wed Jun 19 15:30:37 UTC 2019 : Saving current config file: > /presto/etc/ranger-presto-security.xml to > /presto/etc/.ranger-presto-security.xml.20190619-153036 ... > 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: > com/google/common/base/Preconditions > at > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:429) > at > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:442) > at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:524) > at > org.apache.ranger.credentialapi.CredentialReader.getDecryptedString(CredentialReader.java:38) > 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: > com.google.common.base.Preconditions > at java.net.URLClassLoader.findClass(URLClassLoader.java:382) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 6 more] > -- This message was sent by Atlassian JIRA (v7.6.14#76016)