Repository: hbase Updated Branches: refs/heads/master 384e308e9 -> f5768b430
HBASE-18200 Set hadoop check versions for branch-2 and branch-2.x in pre commit Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f5768b43 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f5768b43 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f5768b43 Branch: refs/heads/master Commit: f5768b4306afa676342663181f3b4e0c3f6a260d Parents: 384e308 Author: zhangduo <zhang...@apache.org> Authored: Sun Jun 11 20:11:52 2017 +0800 Committer: zhangduo <zhang...@apache.org> Committed: Tue Jun 13 16:31:34 2017 +0800 ---------------------------------------------------------------------- dev-support/hbase-personality.sh | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f5768b43/dev-support/hbase-personality.sh ---------------------------------------------------------------------- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 6aa95f9..4620916 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -56,6 +56,9 @@ function personality_globals HBASE_MASTER_HADOOP2_VERSIONS="2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3" HBASE_MASTER_HADOOP3_VERSIONS="3.0.0-alpha2" + HBASE_BRANCH2_HADOOP2_VERSIONS="2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3" + HBASE_BRANCH2_HADOOP3_VERSIONS="3.0.0-alpha2" + HBASE_HADOOP2_VERSIONS="2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3" HBASE_HADOOP3_VERSIONS="" @@ -196,6 +199,9 @@ function hadoopcheck_rebuild if [[ "${PATCH_BRANCH}" = "master" ]]; then hbase_hadoop2_versions=${HBASE_MASTER_HADOOP2_VERSIONS} hbase_hadoop3_versions=${HBASE_MASTER_HADOOP3_VERSIONS} + elif [[ ${PATCH_BRANCH} = branch-2* ]]; then + hbase_hadoop2_versions=${HBASE_BRANCH2_HADOOP2_VERSIONS} + hbase_hadoop3_versions=${HBASE_BRANCH2_HADOOP3_VERSIONS} else hbase_hadoop2_versions=${HBASE_HADOOP2_VERSIONS} hbase_hadoop3_versions=${HBASE_HADOOP3_VERSIONS}