diff --git a/bagel/pom.xml b/bagel/pom.xml
index 85b2077026173..c3461fb889084 100644
--- a/bagel/pom.xml
+++ b/bagel/pom.xml
@@ -77,6 +77,12 @@
hadoop2
+
+
+ hadoop
+ 2
+
+
org.spark-project
diff --git a/core/pom.xml b/core/pom.xml
index 005d8fe498120..c8ff625774bf4 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -216,6 +216,12 @@
hadoop2
+
+
+ hadoop
+ 2
+
+
org.apache.hadoop
diff --git a/examples/pom.xml b/examples/pom.xml
index 3f738a3f8cf04..d0b1e97747d69 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -77,6 +77,12 @@
hadoop2
+
+
+ hadoop
+ 2
+
+
org.spark-project
diff --git a/pom.xml b/pom.xml
index ea5b9c9d05a34..ae87813d4e85e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -502,6 +502,12 @@
hadoop2
+
+
+ hadoop
+ 2
+
+
2
diff --git a/repl-bin/pom.xml b/repl-bin/pom.xml
index fecb01f3cd863..54ae20659e4ac 100644
--- a/repl-bin/pom.xml
+++ b/repl-bin/pom.xml
@@ -115,6 +115,12 @@
hadoop2
+
+
+ hadoop
+ 2
+
+
hadoop2
diff --git a/repl/pom.xml b/repl/pom.xml
index 04b2c35bebbde..3e979b93a6022 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -121,6 +121,12 @@
hadoop2
+
+
+ hadoop
+ 2
+
+
hadoop2