HBASE-27472 The personality script set wrong hadoop2 check version for branch-2 (#4866)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
(cherry picked from commit 6c32d1a3fb218f3639a6c2037d84624bcf74575a)
This commit is contained in:
Duo Zhang 2022-11-10 12:13:10 +08:00
parent 2edbfb8f6e
commit e605ebf8b1

View File

@ -582,7 +582,7 @@ function hadoopcheck_rebuild
else
hbase_hadoop2_versions="2.10.0 2.10.1 2.10.2"
fi
elif [[ "${PATCH_BRANCH}" = branch-2.* ]]; then
elif [[ "${PATCH_BRANCH}" = branch-2* ]]; then
yetus_info "Setting Hadoop 2 versions to test based on branch-2.5+ rules."
hbase_hadoop2_versions="2.10.2"
else