You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2024/11/05 04:07:17 UTC

(hbase) branch branch-3 updated: HBASE-28954 Apply workaround for HADOOP-19164 for Hadoop 3.4.1 (#6437)

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new e9aa6e140b7 HBASE-28954 Apply workaround for HADOOP-19164 for Hadoop 3.4.1 (#6437)
e9aa6e140b7 is described below

commit e9aa6e140b7da212273c58765985fd13dcf2a352
Author: Istvan Toth <st...@apache.org>
AuthorDate: Tue Nov 5 05:06:20 2024 +0100

    HBASE-28954 Apply workaround for HADOOP-19164 for Hadoop 3.4.1 (#6437)
    
    Signed-off-by: Duo Zhang zhangduo@apache.org
    Signed-off-by: Wei-Chiu Chuang weichiu@apache.org
    (cherry picked from commit b7ce297ed9417a9f9ea1683d9458e3d7bc3127ab)
---
 dev-support/hbase_nightly_pseudo-distributed-test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh
index f58e483e673..099774d25b4 100755
--- a/dev-support/hbase_nightly_pseudo-distributed-test.sh
+++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh
@@ -281,8 +281,8 @@ trap cleanup EXIT SIGQUIT
 
 echo "Starting up Hadoop"
 
-if [ "${hadoop_version%.*.*.*}" = "3.4.0" ]; then
-  # writeDetails is broken in 3.4.0. See MAPREDUCE-7492
+if [[ "${hadoop_version%.*.*.*}" = "3.4.0" || "${hadoop_version%.*.*.*}" = "3.4.1" ]]; then
+  # writeDetails is broken in 3.4.0 and 3.4.1. See MAPREDUCE-7492
   "${mapred_exec}" minicluster -format -writeConfig "${working_dir}/hbase-conf/core-site.xml" >"${working_dir}/hadoop_cluster_command.out" 2>"${working_dir}/hadoop_cluster_command.err" &
 elif [ "${hadoop_version%.*.*}" -gt 2 ]; then
   "${mapred_exec}" minicluster -format -writeConfig "${working_dir}/hbase-conf/core-site.xml" -writeDetails "${working_dir}/hadoop_cluster_info.json" >"${working_dir}/hadoop_cluster_command.out" 2>"${working_dir}/hadoop_cluster_command.err" &