HBASE-19991 hbase-rest test fail against h3
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0d6acfa0 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0d6acfa0 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0d6acfa0 Branch: refs/heads/master Commit: 0d6acfa0cf878172ef63d4c5900293f95c0a0fea Parents: 8cf7a9d Author: Mike Drob <md...@apache.org> Authored: Tue Feb 13 14:35:26 2018 -0600 Committer: Mike Drob <md...@apache.org> Committed: Fri Feb 16 09:12:15 2018 -0600 ---------------------------------------------------------------------- hbase-rest/pom.xml | 6 ---- pom.xml | 86 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 85 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/0d6acfa0/hbase-rest/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index d4ab0b4..e70e596 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -411,12 +411,6 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-mapreduce-client-core</artifactId> <scope>test</scope> - <exclusions> - <exclusion> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> http://git-wip-us.apache.org/repos/asf/hbase/blob/0d6acfa0/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 1cb5082..d33478a 100755 --- a/pom.xml +++ b/pom.xml @@ -1417,6 +1417,7 @@ <jetty-jsp.version>9.2.19.v20160908</jetty-jsp.version> <servlet.api.version>3.1.0</servlet.api.version> <wx.rs.api.version>2.0.1</wx.rs.api.version> + <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. --> <jersey.version>2.25.1</jersey.version> <glassfish.jsp.version>2.3.2</glassfish.jsp.version> <glassfish.el.version>3.0.1-b08</glassfish.el.version> @@ -2502,6 +2503,7 @@ <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> + <version>${hadoop-two.version}</version> <exclusions> <exclusion> <groupId>org.apache.htrace</groupId> @@ -2540,7 +2542,6 @@ <artifactId>guava</artifactId> </exclusion> </exclusions> - <version>${hadoop-two.version}</version> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> @@ -2735,6 +2736,10 @@ <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-mapper-asl</artifactId> </exclusion> + <exclusion> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </exclusion> </exclusions> </dependency> <dependency> @@ -2775,6 +2780,10 @@ <artifactId>jersey-core</artifactId> </exclusion> <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + </exclusion> + <exclusion> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> </exclusion> @@ -2843,6 +2852,24 @@ <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-hdfs</artifactId> + <version>${hadoop-three.version}</version> + <type>test-jar</type> + <classifier>tests</classifier> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </exclusion> </exclusions> </dependency> <dependency> @@ -2917,6 +2944,19 @@ </dependency> <dependency> <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <type>test-jar</type> + <classifier>tests</classifier> + <version>${hadoop-three.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>${hadoop-three.version}</version> </dependency> @@ -2963,6 +3003,50 @@ </exclusions> </dependency> <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-server-nodemanager</artifactId> + <version>${hadoop-three.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-server-resourcemanager</artifactId> + <version>${hadoop-three.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-server-timelineservice</artifactId> + <version>${hadoop-three.version}</version> + <exclusions> + <exclusion> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-common</artifactId> + <version>${hadoop-three.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-minikdc</artifactId> <version>${hadoop-three.version}</version>