This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch HBASE-29914 in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 5a2d96117d9c16677ebfcf32aad65b6f8a901f52 Author: Duo Zhang <[email protected]> AuthorDate: Wed Feb 25 18:10:32 2026 +0800 fix config --- dev-support/hbase_nightly_pseudo-distributed-test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh index 51905775dda..a2dfab644de 100755 --- a/dev-support/hbase_nightly_pseudo-distributed-test.sh +++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh @@ -286,6 +286,10 @@ if [[ "${hadoop_version%.*.*.*}" = "3.4.0" || "${hadoop_version%.*.*.*}" = "3.4. "${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" & + # for now, all hbase branches are compiled with hadoop 3.4.x, where the protobuf library has been + # shaded and relocated, so we always need to use ProtobufRpcEngine2 at hbase side, even if the + # hadoop server side uses ProtobufRpcEngine, so here we do a replacement + sed -i "s/ProtobufRpcEngine<\/value>/ProtobufRpcEngine2<\/value>/g" "${working_dir}/hbase-conf/core-site.xml" else HADOOP_CLASSPATH="${timeline_service_dir}/*:${timeline_service_dir}/lib/*:${yarn_server_tests_test_jar}" "${hadoop_exec}" jar "${mapred_jobclient_test_jar}" 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" & fi
