HADOOP-15514. NoClassDefFoundError for TimelineCollectorManager when starting MiniYARNCluster. Contributed by Rohith Sharma K S.

This commit is contained in:
Sunil G 2018-06-06 13:34:55 +05:30
parent 774c1f199e
commit d1992ab9b0

View File

@ -83,13 +83,6 @@
<artifactId>hadoop-minicluster</artifactId> <artifactId>hadoop-minicluster</artifactId>
<optional>true</optional> <optional>true</optional>
<exclusions> <exclusions>
<!-- Exclude the in-development timeline service and
add it as an optional runtime dependency
-->
<exclusion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-timelineservice</artifactId>
</exclusion>
<!-- exclude everything that comes in via the shaded runtime and api TODO remove once we have a filter for "is in these artifacts" --> <!-- exclude everything that comes in via the shaded runtime and api TODO remove once we have a filter for "is in these artifacts" -->
<!-- Skip jersey, since we need it again here. --> <!-- Skip jersey, since we need it again here. -->
<exclusion> <exclusion>
@ -149,10 +142,6 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-common</artifactId> <artifactId>hadoop-yarn-common</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
<exclusion> <exclusion>
<groupId>org.fusesource.leveldbjni</groupId> <groupId>org.fusesource.leveldbjni</groupId>
<artifactId>leveldbjni-all</artifactId> <artifactId>leveldbjni-all</artifactId>
@ -668,8 +657,6 @@
<exclude>commons-logging:commons-logging</exclude> <exclude>commons-logging:commons-logging</exclude>
<exclude>junit:junit</exclude> <exclude>junit:junit</exclude>
<exclude>com.google.code.findbugs:jsr305</exclude> <exclude>com.google.code.findbugs:jsr305</exclude>
<!-- Keep optional runtime deps out of the shading -->
<exclude>org.apache.hadoop:hadoop-yarn-server-timelineservice</exclude>
<exclude>log4j:log4j</exclude> <exclude>log4j:log4j</exclude>
<!-- We need a filter that matches just those things that are included in the above artiacts --> <!-- We need a filter that matches just those things that are included in the above artiacts -->
</excludes> </excludes>