hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-15514) NoClassDefFoundError of TimelineCollectorManager when starting MiniCluster
Date Tue, 05 Jun 2018 11:02:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501521#comment-16501521
] 

Rohith Sharma K S edited comment on HADOOP-15514 at 6/5/18 11:01 AM:
---------------------------------------------------------------------

Updated the patch fixing MiniYARNcluster start issue. Following are the change in patch
# Timeline service jar was excluded in hadoop-client-minicluster jar. This patch includes
timeline-service jar classes. 
# After above change, started getting NoClassDefFoundError error for zookeeper package. Looking
to hadoop-client-minicluster.jar, zookeeper package is excluded assuming that  hadoop-client-runtime.jar
includes it. But zookeeper package was not shaded anywhere which leading this issue. I removed
zookeeper package from exclude list as well. 
[~sunilg] [~vinodkv] kindly review this change. 


was (Author: rohithsharma):
Updated the patch fixing MiniYARNcluster start issue. There are change I did
# Timeline service jar was excluded in hadoop-client-minicluster jar. This patch includes
timeline-service jar classes. 
# After above change, started getting NoClassDefFoundError error for zookeeper package. Looking
to hadoop-client-minicluster.jar, zookeeper package is excluded assuming that  hadoop-client-runtime.jar
includes it. But zookeeper package was not shaded anywhere which leading this issue. I removed
zookeeper package from exclude list as well. 
[~sunilg] [~vinodkv] kindly review this change. 

> NoClassDefFoundError of TimelineCollectorManager when starting MiniCluster
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-15514
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15514
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0
>            Reporter: Jeff Zhang
>            Assignee: Rohith Sharma K S
>            Priority: Major
>         Attachments: HADOOP-15514.01.patch
>
>
> {code:java}
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.NoClassDefFoundError:
org/apache/hadoop/yarn/server/timelineservice/collector/TimelineCollectorManager
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>   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)
>   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:467)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>   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)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975){code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message