HBASE-18200 Set hadoop check versions for branch-2 and branch-2.x in pre commit
This commit is contained in:
parent
384e308e9f
commit
f5768b4306
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue