HIVE-14837: JDBC: standalone jar is missing hadoop core dependencies (Tao Li, 
via Gopal V)

Signed-off-by: Gopal V <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/7968e1ef
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/7968e1ef
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/7968e1ef

Branch: refs/heads/hive-14535
Commit: 7968e1efe9453dd8d3ca8a013d952d25ba9bb287
Parents: 080de97
Author: Tao Li <[email protected]>
Authored: Mon Oct 24 18:12:48 2016 -0700
Committer: Gopal V <[email protected]>
Committed: Mon Oct 24 18:13:36 2016 -0700

----------------------------------------------------------------------
 jdbc/pom.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/7968e1ef/jdbc/pom.xml
----------------------------------------------------------------------
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index b29739b..5ae2266 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -180,7 +180,12 @@
                 <excludes>
                   <exclude>org.apache.commons:commons-compress</exclude>
                   
<exclude>commons-configuration:commons-configuration</exclude>
-                  <exclude>org.apache.hadoop:*</exclude>
+                  <exclude>org.apache.hadoop:hadoop-yarn*</exclude>
+                  <exclude>org.apache.hadoop:hadoop-mapreduce*</exclude>
+                  <exclude>org.apache.hadoop:hadoop-hdfs</exclude>
+                  <exclude>org.apache.hadoop:hadoop-client</exclude>
+                  <exclude>org.apache.hadoop:hadoop-annotations</exclude>
+                  <exclude>org.apache.hadoop:hadoop-auth</exclude>
                   <exclude>org.apache.hive:hive-ant</exclude>
                   <exclude>org.apache.ant:*</exclude>
                   <exclude>junit:*</exclude>

Reply via email to