From 5f5619f153be2af9f24e15164a8c0aae9a094b4b Mon Sep 17 00:00:00 2001 From: Zhan Zhang Date: Wed, 10 Sep 2014 13:18:20 -0700 Subject: [PATCH] restructure the directory and different hive version support --- assembly/pom.xml | 3 +-- pom.xml | 4 +--- sql/hive/pom.xml | 7 +++---- .../src/main/scala/org/apache/spark/sql/hive/Shim.scala | 0 .../src/main/scala/org/apache/spark/sql/hive/Shim.scala | 0 5 files changed, 5 insertions(+), 9 deletions(-) rename sql/hive/{v0.12 => v0.12.0}/src/main/scala/org/apache/spark/sql/hive/Shim.scala (100%) rename sql/hive/{v0.13 => v0.13.1}/src/main/scala/org/apache/spark/sql/hive/Shim.scala (100%) diff --git a/assembly/pom.xml b/assembly/pom.xml index cb66a14a48d02..a1a2048e5f003 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -189,11 +189,10 @@ - hive-0.13 + hive-versions hive.version - 0.13.1 diff --git a/pom.xml b/pom.xml index 94302f97b7951..d4650aff7b364 100644 --- a/pom.xml +++ b/pom.xml @@ -1246,17 +1246,15 @@ - hive-0.13 + hive-versions hive.version - 0.13.1 10.10.1.1 - diff --git a/sql/hive/pom.xml b/sql/hive/pom.xml index 67f0f46507070..35cccb9e5803d 100644 --- a/sql/hive/pom.xml +++ b/sql/hive/pom.xml @@ -132,7 +132,7 @@ - v0.12/src/main/scala + v${hive.version}/src/main/scala @@ -168,11 +168,10 @@ - hive-0.13 + hive-versions hive.version - 0.13.1 @@ -222,7 +221,7 @@ - v0.13/src/main/scala + v${hive.version}/src/main/scala diff --git a/sql/hive/v0.12/src/main/scala/org/apache/spark/sql/hive/Shim.scala b/sql/hive/v0.12.0/src/main/scala/org/apache/spark/sql/hive/Shim.scala similarity index 100% rename from sql/hive/v0.12/src/main/scala/org/apache/spark/sql/hive/Shim.scala rename to sql/hive/v0.12.0/src/main/scala/org/apache/spark/sql/hive/Shim.scala diff --git a/sql/hive/v0.13/src/main/scala/org/apache/spark/sql/hive/Shim.scala b/sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim.scala similarity index 100% rename from sql/hive/v0.13/src/main/scala/org/apache/spark/sql/hive/Shim.scala rename to sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim.scala