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 bae21598b2136e379d4997e7aee4f345ff00ec53 Author: Duo Zhang <[email protected]> AuthorDate: Wed Feb 25 21:00:18 2026 +0800 fix config --- dev-support/hbase_nightly_pseudo-distributed-test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh index 51905775dda..aed820e9006 100755 --- a/dev-support/hbase_nightly_pseudo-distributed-test.sh +++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh @@ -322,6 +322,14 @@ 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 using hadoop-3.0 profile, 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 before starting the hbase cluster + 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"
