aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@eecs.berkeley.edu>2013-01-10 22:07:34 -0800
committerShivaram Venkataraman <shivaram@eecs.berkeley.edu>2013-01-10 22:07:34 -0800
commit92625223066a5c28553d7710c6b14af56f64b560 (patch)
tree21c0c6e6da49bcc0fe98fcfd7a6a21a8ea629263
parentf7adb382ace7f54c5093bf90574b3f9dd0d35534 (diff)
downloadspark-92625223066a5c28553d7710c6b14af56f64b560.tar.gz
spark-92625223066a5c28553d7710c6b14af56f64b560.tar.bz2
spark-92625223066a5c28553d7710c6b14af56f64b560.zip
Activate hadoop2 profile in pom.xml with -Dhadoop=2
-rw-r--r--bagel/pom.xml6
-rw-r--r--core/pom.xml6
-rw-r--r--examples/pom.xml6
-rw-r--r--pom.xml6
-rw-r--r--repl-bin/pom.xml6
-rw-r--r--repl/pom.xml6
6 files changed, 36 insertions, 0 deletions
diff --git a/bagel/pom.xml b/bagel/pom.xml
index 85b2077026..c3461fb889 100644
--- a/bagel/pom.xml
+++ b/bagel/pom.xml
@@ -77,6 +77,12 @@
</profile>
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoop</name>
+ <value>2</value>
+ </property>
+ </activation>
<dependencies>
<dependency>
<groupId>org.spark-project</groupId>
diff --git a/core/pom.xml b/core/pom.xml
index 005d8fe498..c8ff625774 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -216,6 +216,12 @@
</profile>
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoop</name>
+ <value>2</value>
+ </property>
+ </activation>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
diff --git a/examples/pom.xml b/examples/pom.xml
index 3f738a3f8c..d0b1e97747 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -77,6 +77,12 @@
</profile>
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoop</name>
+ <value>2</value>
+ </property>
+ </activation>
<dependencies>
<dependency>
<groupId>org.spark-project</groupId>
diff --git a/pom.xml b/pom.xml
index ea5b9c9d05..ae87813d4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -502,6 +502,12 @@
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoop</name>
+ <value>2</value>
+ </property>
+ </activation>
<properties>
<hadoop.major.version>2</hadoop.major.version>
</properties>
diff --git a/repl-bin/pom.xml b/repl-bin/pom.xml
index fecb01f3cd..54ae20659e 100644
--- a/repl-bin/pom.xml
+++ b/repl-bin/pom.xml
@@ -115,6 +115,12 @@
</profile>
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoop</name>
+ <value>2</value>
+ </property>
+ </activation>
<properties>
<classifier>hadoop2</classifier>
</properties>
diff --git a/repl/pom.xml b/repl/pom.xml
index 04b2c35beb..3e979b93a6 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -121,6 +121,12 @@
</profile>
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoop</name>
+ <value>2</value>
+ </property>
+ </activation>
<properties>
<classifier>hadoop2</classifier>
</properties>