Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill, mail # dev - [7/7] git commit: DRILL-188 add profiles to build with hadoop artifacts from vendors: mapr, cloudera, hortonworks


Copy link to this message
-
[7/7] git commit: DRILL-188 add profiles to build with hadoop artifacts from vendors: mapr, cloudera, hortonworks
jacques@... 2013-08-29, 03:43
DRILL-188 add profiles to build with hadoop artifacts from vendors: mapr, cloudera, hortonworks
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/4515263d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/4515263d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/4515263d

Branch: refs/heads/master
Commit: 4515263d38e931275ab1f8f35ec761728c2b4156
Parents: 28414fe
Author: Steven Phillips <[EMAIL PROTECTED]>
Authored: Wed Aug 28 15:51:20 2013 -0700
Committer: Jacques Nadeau <[EMAIL PROTECTED]>
Committed: Wed Aug 28 20:38:47 2013 -0700

----------------------------------------------------------------------
 sandbox/prototype/exec/java-exec/pom.xml |  58 +++++-
 sandbox/prototype/exec/ref/pom.xml       |  45 ++++-
 sandbox/prototype/pom.xml                | 256 ++++++++++++++++++++------
 sandbox/prototype/sqlparser/pom.xml      |  42 +++++
 4 files changed, 331 insertions(+), 70 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/4515263d/sandbox/prototype/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/java-exec/pom.xml b/sandbox/prototype/exec/java-exec/pom.xml
index 70e4147..a07e43a 100644
--- a/sandbox/prototype/exec/java-exec/pom.xml
+++ b/sandbox/prototype/exec/java-exec/pom.xml
@@ -52,6 +52,16 @@
       <groupId>com.twitter</groupId>
       <artifactId>parquet-column</artifactId>
       <version>1.0.1</version>
+      <exclusions>
+        <exclusion>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-client</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>com.twitter</groupId>
@@ -114,10 +124,6 @@
       <version>1.0.5-M3</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-core</artifactId>
-    </dependency>
-    <dependency>
       <groupId>com.carrotsearch</groupId>
       <artifactId>hppc</artifactId>
       <version>0.4.2</version>
@@ -142,8 +148,52 @@
       <artifactId>janino</artifactId>
       <version>2.6.1</version>
     </dependency>
+    <dependency>
+      <groupId>org.mortbay.jetty</groupId>
+      <artifactId>jetty-util</artifactId>
+      <version>6.1.26</version>
+    </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>default-hadoop</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-core</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>mapr</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-core</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>cdh4</id>
+      <dependencies>
+        <dependency>
+          <artifactId>hadoop-common</artifactId>
+          <groupId>org.apache.hadoop</groupId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>hdp</id>
+      <dependencies>
+        <dependency>
+          <artifactId>hadoop-common</artifactId>
+          <groupId>org.apache.hadoop</groupId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
   <build>
     <plugins>
       <plugin>

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/4515263d/sandbox/prototype/exec/ref/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/ref/pom.xml b/sandbox/prototype/exec/ref/pom.xml
index 4a81285..5724015 100644
--- a/sandbox/prototype/exec/ref/pom.xml
+++ b/sandbox/prototype/exec/ref/pom.xml
@@ -22,12 +22,6 @@
  </dependency>
 
  <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-core</artifactId>
- </dependency>
-
-
- <dependency>
  <groupId>com.carrotsearch</groupId>
  <artifactId>hppc</artifactId>
  <version>0.4.2</version>
@@ -40,6 +34,45 @@
  </dependency>
  </dependencies>
 
+  <profiles>
+    <profile>
+      <id>default-hadoop</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-core</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>mapr</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-core</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>cdh4</id>
+      <dependencies>
+        <dependency>
+          <artifactId>hadoop-common</artifactId>
+          <groupId>org.apache.hadoop</groupId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>hdp</id>
+      <dependencies>
+        <dependency>
+          <artifactId>hadoop-common</artifactId>
+          <groupId>org.apache.hadoop</groupId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
   <build>
     <plugins>
       <plugin>

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/4515263d/sandbox/prototype/pom.xml
diff --git a/sandbox/prototype/pom.xml b/sandbox/prototype/pom.xml
index 98b2232..5a714df 100644
+++ b/sandbox/prototype/pom.xml
@@ -285,71 +285,207 @@
       <scope>test</scope>
     </dependency>
 
-
-
   </dependencies>
 
   <!-- Managed Dependencies -->
   <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.apache.hadoop</groupId>
-        <artifactId>hadoop-core</artifactId>
-        <version>1.2.1</version>
-        <excl