Revert "RANGER-2901: Remove libfb303 thrift library from Ranger dependency"
This reverts commit 807cb949dbc46699ba6694d9404158dd61ecc019.
diff --git a/distro/src/main/assembly/admin-web.xml b/distro/src/main/assembly/admin-web.xml
index 407ece3..0c47d0d 100644
--- a/distro/src/main/assembly/admin-web.xml
+++ b/distro/src/main/assembly/admin-web.xml
@@ -79,6 +79,7 @@
<include>org.apache.hive:hive-exec:jar:${hive.version}</include>
<include>org.apache.hive:hive-jdbc:jar:${hive.version}</include>
<include>org.apache.hive:hive-metastore:jar:${hive.version}</include>
+ <include>org.apache.thrift:libfb303:jar:${libfb303.version}</include>
<include>org.apache.thrift:libthrift:jar:${libthrift.version}</include>
</includes>
</binaries>
diff --git a/hive-agent/pom.xml b/hive-agent/pom.xml
index b630502..f219a37 100644
--- a/hive-agent/pom.xml
+++ b/hive-agent/pom.xml
@@ -78,6 +78,11 @@
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
+ <artifactId>libfb303</artifactId>
+ <version>${libfb303.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${libthrift.version}</version>
</dependency>
diff --git a/pom.xml b/pom.xml
index 77acc11..adac120 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,7 @@
<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.13.0</libthrift.version>
<htrace-core.version>4.1.0-incubating</htrace-core.version>
<httpcomponents.httpclient.version>4.5.6</httpcomponents.httpclient.version>
diff --git a/security-admin/pom.xml b/security-admin/pom.xml
index c1d626a..745dbfe 100644
--- a/security-admin/pom.xml
+++ b/security-admin/pom.xml
@@ -388,6 +388,11 @@
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
+ <artifactId>libfb303</artifactId>
+ <version>${libfb303.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${libthrift.version}</version>
</dependency>