This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch HBASE-29114 in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 20e56f55d1fc5c9b18b57e5d49ef730875f8c5be Author: Duo Zhang <[email protected]> AuthorDate: Wed Feb 25 19:20:27 2026 +0800 fox config --- dev-support/hbase_nightly_pseudo-distributed-test.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh index 51905775dda..1dae9be7c6d 100755 --- a/dev-support/hbase_nightly_pseudo-distributed-test.sh +++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh @@ -322,6 +322,13 @@ echo "Listing HDFS contents" redirect_and_run "${working_dir}/hadoop_cluster_smoke" \ "${hadoop_exec}" --config "${working_dir}/hbase-conf/" fs -ls -R / +if [ "${hadoop_version%.*.*}" -gt 2 ]; then + # for now, all hbase branches are compiled with hadoop 3.4.x when building against hadoop3, 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" +fi + echo "Starting up HBase" HBASE_CONF_DIR="${working_dir}/hbase-conf/" "${component_install}/bin/start-hbase.sh"
