hadoop.profile=2.0
Index: hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
===================================================================
--- hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (revision 1459981)
+++ hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (working copy)
@@ -1647,6 +1647,7 @@
conf.set("mapred.job.tracker", jobConf.get("mapred.job.tracker"));
// this for mrv2 support; mr1 ignores this
conf.set("mapreduce.framework.name", "yarn");
+ conf.setBoolean("yarn.is.minicluster", true);
String rmAdress = jobConf.get("yarn.resourcemanager.address");
if (rmAdress != null) {
conf.set("yarn.resourcemanager.address", rmAdress);
Index: hbase-server/pom.xml
===================================================================
--- hbase-server/pom.xml (revision 1459981)
+++ hbase-server/pom.xml (working copy)
@@ -559,7 +559,8 @@
hadoop-1.0
- !hadoop.profile
+ hadoop.profile
+ 1.0
@@ -581,8 +582,7 @@
hadoop-2.0
- hadoop.profile
- 2.0
+ !hadoop.profile
Index: pom.xml
===================================================================
--- pom.xml (revision 1459981)
+++ pom.xml (working copy)
@@ -873,7 +873,7 @@
1.6
${project.version}
- 2.0.2-alpha
+ 2.0.4-SNAPSHOT
1.1.2
1.2
1.7
@@ -1423,7 +1423,8 @@
hadoop-1.0
- !hadoop.profile
+ hadoop.profile
+ 1.0
@@ -1481,16 +1482,15 @@
hadoop-2.0
- hadoop.profile
- 2.0
+ !hadoop.profile
hbase-hadoop2-compat
+ ${hadoop-two.version}
1.6.1
- ${hadoop-two.version}
hbase-hadoop2-compat
src/assembly/hadoop-two-compat.xml
Index: hbase-it/pom.xml
===================================================================
--- hbase-it/pom.xml (revision 1459981)
+++ hbase-it/pom.xml (working copy)
@@ -172,7 +172,8 @@
hadoop-1.0
- !hadoop.profile
+ hadoop.profile
+ 1.0
@@ -195,8 +196,7 @@
hadoop-2.0
- hadoop.profile
- 2.0
+ !hadoop.profile
Index: hbase-examples/pom.xml
===================================================================
--- hbase-examples/pom.xml (revision 1459981)
+++ hbase-examples/pom.xml (working copy)
@@ -97,7 +97,8 @@
hadoop-1.0
- !hadoop.profile
+ hadoop.profile
+ 1.0
@@ -119,8 +120,7 @@
hadoop-2.0
- hadoop.profile
- 2.0
+ !hadoop.profile
Index: hbase-client/pom.xml
===================================================================
--- hbase-client/pom.xml (revision 1459981)
+++ hbase-client/pom.xml (working copy)
@@ -106,7 +106,8 @@
hadoop-1.0
- !hadoop.profile
+ hadoop.profile
+ 1.0
@@ -125,8 +126,7 @@
hadoop-2.0
- hadoop.profile
- 2.0
+ !hadoop.profile
Index: hbase-common/pom.xml
===================================================================
--- hbase-common/pom.xml (revision 1459981)
+++ hbase-common/pom.xml (working copy)
@@ -181,7 +181,8 @@
hadoop-1.0
- !hadoop.profile
+ hadoop.profile
+ 1.0
@@ -200,8 +201,7 @@
hadoop-2.0
- hadoop.profile
- 2.0
+ !hadoop.profile