Coopr-provisioned secure cluster fails to start auth server due to classpath issue

Description

Inside /opt/cdap/security/lib, we have two servlet-api jars, which makes auth server unable to start:

[alvin@178 lib]$ ls -lah | grep servlet-api
rw-rr-. 1 cdap cdap 84K Oct 14 20:54 javax.servlet.javax.servlet-api-3.0.1.jar
rw-rr-. 1 cdap cdap 103K Oct 14 20:54 javax.servlet.servlet-api-2.5.jar

Removing the 2.5.jar fixes this issue

Release Notes

None

Activity

Show:

Alvin Wang October 25, 2014 at 12:03 AM

Alvin Wang October 24, 2014 at 9:59 PM

We will resolve this by adding an exclusion for javax.servlet servlet-api 2.5 in the hadoop-minicluster dependency.

Alvin Wang October 24, 2014 at 7:33 PM
Edited

javax.servlet.servlet-api-2.5.jar is a transitive dependency from

<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-minicluster</artifactId> </dependency>

which is only used in the unit tests of the cdap-common module.

Terence Yim October 24, 2014 at 6:10 AM

Please check where does the 2.5.jar comes from in dependencies and exclude it in pom.xml

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Fix versions

Priority

Created October 23, 2014 at 9:44 PM
Updated March 27, 2015 at 7:31 PM
Resolved October 25, 2014 at 12:04 AM