You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2021/08/09 09:11:51 UTC
[hbase] branch branch-2.4 updated: HBASE-26176 Correct regex in
hbase-personality.sh (#3567)
This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 78051e5 HBASE-26176 Correct regex in hbase-personality.sh (#3567)
78051e5 is described below
commit 78051e577c0e1d889ba995891430b3a10137f85f
Author: Peter Somogyi <ps...@apache.org>
AuthorDate: Mon Aug 9 10:53:41 2021 +0200
HBASE-26176 Correct regex in hbase-personality.sh (#3567)
Signed-off-by: Tak Lon (Stephen) Wu <ta...@apache.org>
---
dev-support/hbase-personality.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index e8e66b9..608334e 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -148,7 +148,7 @@ function personality_modules
# If we have HADOOP_PROFILE specified and we're on branch-2.x, pass along
# the hadoop.profile system property. Ensures that Hadoop2 and Hadoop3
# logic is not both activated within Maven.
- if [[ -n "${HADOOP_PROFILE}" ]] && [[ "${PATCH_BRANCH}" =~ branch-2* ]] ; then
+ if [[ -n "${HADOOP_PROFILE}" ]] && [[ "${PATCH_BRANCH}" = branch-2* ]] ; then
extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"
fi
@@ -354,7 +354,7 @@ function refguide_filefilter
if [[ ${filename} =~ src/main/asciidoc ]] ||
[[ ${filename} =~ src/main/xslt ]] ||
- [[ ${filename} =~ hbase-common/src/main/resources/hbase-default.xml ]]; then
+ [[ ${filename} =~ hbase-common/src/main/resources/hbase-default\.xml ]]; then
add_test refguide
fi
}
@@ -464,7 +464,7 @@ function shadedjars_rebuild
# If we have HADOOP_PROFILE specified and we're on branch-2.x, pass along
# the hadoop.profile system property. Ensures that Hadoop2 and Hadoop3
# logic is not both activated within Maven.
- if [[ -n "${HADOOP_PROFILE}" ]] && [[ "${PATCH_BRANCH}" =~ branch-2* ]] ; then
+ if [[ -n "${HADOOP_PROFILE}" ]] && [[ "${PATCH_BRANCH}" = branch-2* ]] ; then
maven_args+=("-Dhadoop.profile=${HADOOP_PROFILE}")
fi
@@ -495,7 +495,7 @@ function hadoopcheck_filefilter
{
local filename=$1
- if [[ ${filename} =~ \.java$ ]] || [[ ${filename} =~ pom.xml$ ]]; then
+ if [[ ${filename} =~ \.java$ ]] || [[ ${filename} =~ pom\.xml$ ]]; then
add_test hadoopcheck
fi
}
@@ -643,7 +643,7 @@ function hadoopcheck_rebuild
done
hadoop_profile=""
- if [[ "${PATCH_BRANCH}" =~ branch-2* ]]; then
+ if [[ "${PATCH_BRANCH}" = branch-2* ]]; then
hadoop_profile="-Dhadoop.profile=3.0"
fi
for hadoopver in ${hbase_hadoop3_versions}; do