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

wangzhongwei reassigned RANGER-4583:
------------------------------------

    Assignee: wangzhongwei

> Installation of Ranger plugin for YARN fails due to missing htrace core 
> library
> -------------------------------------------------------------------------------
>
>                 Key: RANGER-4583
>                 URL: https://issues.apache.org/jira/browse/RANGER-4583
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 2.4.0
>            Reporter: wangzhongwei
>            Assignee: wangzhongwei
>            Priority: Major
>         Attachments: RANGER-4583.patch
>
>
> Installation of Ranger plugin for YARN fails with following error:
> {code:java}
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/htrace/core/Tracer$Builder
>         at org.apache.hadoop.fs.FsTracer.get(FsTracer.java:42)
>         at 
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3407)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:158)
>         at 
> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3474)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3442)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:524)
>         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.htrace.core.Tracer$Builder
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>         ... 16 more]
> Exiting plugin installation {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to