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 15cf8e4fd73d0c97289c225f4dc07078682f5a72 Author: Duo Zhang <[email protected]> AuthorDate: Wed Feb 25 22:03:35 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..55f14efd3b6 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 will remove the + # config value to let the hadoop code pick the right rpc engine + sed -i "/<property>.*ProtobufRpcEngine.*<\/property>/d" "${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"
