AMBARI-19865: Ambari-server logon failure: Hadoop-common dependency on servlet-api 2.5
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ed928275 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ed928275 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ed928275 Branch: refs/heads/branch-dev-patch-upgrade Commit: ed9282759eb8b66e090e9268778e1b443d22611e Parents: 68f3a4a Author: Nahappan Somasundaram <[email protected]> Authored: Fri Feb 3 07:57:28 2017 -0800 Committer: Nate Cole <[email protected]> Committed: Mon Feb 13 15:45:35 2017 -0500 ---------------------------------------------------------------------- ambari-server/pom.xml | 6 ++++++ ambari-server/src/main/assemblies/server.xml | 4 ++++ 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ed928275/ambari-server/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index 89b734e..0508556 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -1481,6 +1481,12 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>${hadoop.version}</version> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> http://git-wip-us.apache.org/repos/asf/ambari/blob/ed928275/ambari-server/src/main/assemblies/server.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/assemblies/server.xml b/ambari-server/src/main/assemblies/server.xml index d65232c..1902384 100644 --- a/ambari-server/src/main/assemblies/server.xml +++ b/ambari-server/src/main/assemblies/server.xml @@ -307,6 +307,10 @@ <outputDirectory>/var/lib/ambari-server/resources</outputDirectory> </file> <file> + <source>${project.build.directory}/CredentialUtil.jar</source> + <outputDirectory>/var/lib/ambari-server/resources</outputDirectory> + </file> + <file> <source>src/main/resources/APACHE-AMBARI-MIB.txt</source> <outputDirectory>/var/lib/ambari-server/resources</outputDirectory> </file>
