You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2021/10/20 20:40:08 UTC

[jira] [Updated] (HDDS-1325) Exception thrown while initializing ozoneClientAdapter

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

Ethan Rose updated HDDS-1325:
-----------------------------
    Target Version/s: 1.3.0  (was: 1.2.0)

I am managing the 1.2.0 release and we currently have more than 600 issues targeted for 1.2.0. I am moving the target field to 1.3.0.

If you are actively working on this jira and believe this should be targeted for the 1.2.0 release, Please reach out to me via Apache email or Slack.

> Exception thrown while initializing ozoneClientAdapter 
> -------------------------------------------------------
>
>                 Key: HDDS-1325
>                 URL: https://issues.apache.org/jira/browse/HDDS-1325
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Client
>            Reporter: Nilotpal Nandi
>            Priority: Major
>              Labels: TriagePending
>
> ozone version :
> --------------------
>  
> {noformat}
> Source code repository https://gitbox.apache.org/repos/asf/hadoop.git -r 568d3ab8b65d1348dec9c971feffe200e6cba2ef
> Compiled by nnandi on 2019-03-19T03:54Z
> Compiled with protoc 2.5.0
> From source with checksum c44d339e20094d3054754078afbf4c
> Using HDDS 0.5.0-SNAPSHOT
> Source code repository https://gitbox.apache.org/repos/asf/hadoop.git -r 568d3ab8b65d1348dec9c971feffe200e6cba2ef
> Compiled by nnandi on 2019-03-19T03:53Z
> Compiled with protoc 2.5.0
> From source with checksum b354934fb1352f4d5425114bf8dce11
> {noformat}
>  
>  
> steps taken :
> -------------------
>  # Add ozone libs in hadoop classpath.
>  # Tried to run s3dupdo workload ([https://github.com/t3rmin4t0r/s3dupdo])
> Here is the exception thrown :
>  
> {noformat}
> java.lang.reflect.InvocationTargetException
>  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>  at org.apache.hadoop.fs.ozone.OzoneClientAdapterFactory.lambda$createAdapter$1(OzoneClientAdapterFactory.java:65)
>  at org.apache.hadoop.fs.ozone.OzoneClientAdapterFactory.createAdapter(OzoneClientAdapterFactory.java:105)
>  at org.apache.hadoop.fs.ozone.OzoneClientAdapterFactory.createAdapter(OzoneClientAdapterFactory.java:61)
>  at org.apache.hadoop.fs.ozone.OzoneFileSystem.initialize(OzoneFileSystem.java:167)
>  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3303)
>  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
>  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3352)
>  at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:3326)
>  at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:532)
>  at org.notmysock.repl.Works$CopyWorker.run(Works.java:243)
>  at org.notmysock.repl.Works$CopyWorker.call(Works.java:279)
>  at org.notmysock.repl.Works$CopyWorker.call(Works.java:204)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/hadoop/fs/ozone/FilteredClassLoader) previously initiated loading for a different type with name "org/apache/hadoop/security/token/Token"
>  at java.lang.ClassLoader.defineClass1(Native Method)
>  at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>  at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>  at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>  at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>  at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>  at org.apache.hadoop.fs.ozone.FilteredClassLoader.loadClass(FilteredClassLoader.java:71)
>  at java.lang.Class.getDeclaredMethods0(Native Method)
>  at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>  at java.lang.Class.privateGetPublicMethods(Class.java:2902)
>  at java.lang.Class.getMethods(Class.java:1615)
>  at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:451)
>  at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:339)
>  at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:639)
>  at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
>  at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
>  at java.lang.reflect.WeakCache.get(WeakCache.java:127)
>  at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
>  at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
>  at org.apache.hadoop.ozone.client.OzoneClientFactory.getClient(OzoneClientFactory.java:264)
>  at org.apache.hadoop.ozone.client.OzoneClientFactory.getRpcClient(OzoneClientFactory.java:169)
>  at org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl.<init>(OzoneClientAdapterImpl.java:140)
>  at org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl.<init>(OzoneClientAdapterImpl.java:104)
>  at org.apache.hadoop.fs.ozone.OzoneClientAdapterImpl.<init>(OzoneClientAdapterImpl.java:75)
>  ... 20 more{noformat}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org