This is an automated email from the ASF dual-hosted git repository.
pradeep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 373305e RANGER-2432: Upgrade Hadoop Version to 3.1.1
373305e is described below
commit 373305eb30573685e24a06b1c7e480d023303478
Author: Pradeep <[email protected]>
AuthorDate: Sun May 19 17:53:21 2019 +0530
RANGER-2432: Upgrade Hadoop Version to 3.1.1
---
.../authorization/hbase/HBaseRangerAuthorizationTest.java | 1 +
.../ranger/services/hive/HIVERangerAuthorizerTest.java | 2 +-
pom.xml | 12 +++++++-----
security-admin/pom.xml | 15 +++++++++++++++
src/main/assembly/admin-web.xml | 7 ++++++-
5 files changed, 30 insertions(+), 7 deletions(-)
diff --git
a/hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/HBaseRangerAuthorizationTest.java
b/hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/HBaseRangerAuthorizationTest.java
index 172b310..bf4bc97 100644
---
a/hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/HBaseRangerAuthorizationTest.java
+++
b/hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/HBaseRangerAuthorizationTest.java
@@ -69,6 +69,7 @@ import org.junit.Test;
*
* http://localhost:6080/service/plugins/policies/download/cl1_hbase
*/
[email protected]
public class HBaseRangerAuthorizationTest {
private static final Log LOG =
LogFactory.getLog(HBaseRangerAuthorizationTest.class.getName());
diff --git
a/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
b/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
index 6238174..f901f71 100644
---
a/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
+++
b/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
@@ -106,7 +106,7 @@ public class HIVERangerAuthorizerTest {
Connection connection = DriverManager.getConnection(initialUrl,
"admin", "admin");
Statement statement = connection.createStatement();
- statement.execute("CREATE DATABASE IF NOT EXISTS rangerauthz");
+ statement.execute("CREATE DATABASE IF NOT EXISTS rangerauthz with
dbproperties ('repl.source.for'='1,2,3')");
statement.execute("CREATE DATABASE IF NOT EXISTS demo");
statement.close();
diff --git a/pom.xml b/pom.xml
index 48cde0a..74305dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,7 @@
<apacheds.version>2.0.0-M22</apacheds.version>
<asm.all.version>3.2</asm.all.version>
<aspectj.version>1.8.2</aspectj.version>
- <atlas.version>1.1.0</atlas.version>
+ <atlas.version>2.0.0</atlas.version>
<atlas.gson.version>2.5</atlas.gson.version>
<atlas.jackson.version>2.9.8</atlas.jackson.version>
<atlas.jettison.version>1.3.7</atlas.jettison.version>
@@ -115,11 +115,13 @@
<googlecode.log4jdbc.version>1.2</googlecode.log4jdbc.version>
<gson.version>2.2.4</gson.version>
<guice.version>4.0</guice.version>
- <hadoop.version>3.0.0</hadoop.version>
- <!-- <hadoop.2.7.version>2.7.1</hadoop.2.7.version> -->
+ <hadoop.version>3.1.1</hadoop.version>
<hamcrest.all.version>1.3</hamcrest.all.version>
- <hbase.version>2.0.0</hbase.version>
- <hive.version>3.0.0</hive.version>
+ <hbase.version>2.0.2</hbase.version>
+ <hive.version>3.1.0</hive.version>
+ <hbase-shaded-protobuf>2.0.0</hbase-shaded-protobuf>
+ <hbase-shaded-netty>2.0.0</hbase-shaded-netty>
+ <hbase-shaded-miscellaneous>2.0.0</hbase-shaded-miscellaneous>
<libfb303.version>0.9.3</libfb303.version>
<libthrift.version>0.12.0</libthrift.version>
<htrace-core.version>4.1.0-incubating</htrace-core.version>
diff --git a/security-admin/pom.xml b/security-admin/pom.xml
index 76bb317..3ada9a3 100644
--- a/security-admin/pom.xml
+++ b/security-admin/pom.xml
@@ -546,6 +546,21 @@
<version>${fasterxml.jackson.version}</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.hbase.thirdparty</groupId>
+ <artifactId>hbase-shaded-protobuf</artifactId>
+ <version>${hbase-shaded-protobuf}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase.thirdparty</groupId>
+ <artifactId>hbase-shaded-netty</artifactId>
+ <version>${hbase-shaded-netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase.thirdparty</groupId>
+ <artifactId>hbase-shaded-miscellaneous</artifactId>
+ <version>${hbase-shaded-miscellaneous}</version>
+ </dependency>
</dependencies>
<build>
<pluginManagement>
diff --git a/src/main/assembly/admin-web.xml b/src/main/assembly/admin-web.xml
index 670ec1b..a2d4194 100644
--- a/src/main/assembly/admin-web.xml
+++ b/src/main/assembly/admin-web.xml
@@ -101,7 +101,12 @@
<include>org.apache.hbase:hbase-client:jar:${hbase.version}</include>
<include>org.apache.hbase:hbase-protocol:jar:${hbase.version}</include>
<include>org.apache.hbase:hbase-server:jar:${hbase.version}</include>
- <include>org.apache.htrace:htrace-core4</include>
+
<include>org.apache.hbase:hbase-protocol-shaded:jar:${hbase.version}</include>
+
<include>org.apache.hbase.thirdparty:hbase-shaded-protobuf:jar:${hbase-shaded-protobuf}</include>
+
<include>org.apache.hbase.thirdparty:hbase-shaded-netty:jar:${hbase-shaded-netty}</include>
+
<include>org.apache.hbase.thirdparty:hbase-shaded-miscellaneous:jar:${hbase-shaded-miscellaneous}</include>
+
<include>org.apache.htrace:htrace-core4:jar:${htrace-core.version}</include>
+ <include>io.dropwizard.metrics:metrics-core</include>
</includes>
</dependencySet>
</dependencySets>