diff --git a/hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-config b/hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-config index e19062a7259a..10426b8610bb 100644 --- a/hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-config +++ b/hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-config @@ -38,7 +38,9 @@ OZONE-SITE.XML_ozone.scm.container.size=1GB OZONE-SITE.XML_hdds.datanode.dir=/data/hdds OZONE-SITE.XML_hdds.datanode.volume.min.free.space=100MB OZONE-SITE.XML_ozone.http.basedir=/tmp/ozone_http +OZONE-SITE.XML_ozone.client.hbase.enhancements.allowed=true OZONE-SITE.XML_ozone.fs.hsync.enabled=true +OZONE-SITE.XML_ozone.hbase.enhancements.allowed=true # If SCM sends container close commands as part of upgrade finalization while # datanodes are doing a leader election, all 3 replicas may end up in the diff --git a/hadoop-ozone/dist/src/main/compose/upgrade/upgrades/non-rolling-upgrade/callbacks/2.0.0/callback.sh b/hadoop-ozone/dist/src/main/compose/upgrade/upgrades/non-rolling-upgrade/callbacks/2.0.0/callback.sh index ec64d5dcd541..6cf3593bf863 100644 --- a/hadoop-ozone/dist/src/main/compose/upgrade/upgrades/non-rolling-upgrade/callbacks/2.0.0/callback.sh +++ b/hadoop-ozone/dist/src/main/compose/upgrade/upgrades/non-rolling-upgrade/callbacks/2.0.0/callback.sh @@ -26,6 +26,6 @@ with_this_version_pre_finalized() { with_this_version_finalized() { execute_robot_test "$SCM" -N "${OUTPUT_NAME}-check-finalization" --include finalized upgrade/check-finalization.robot - execute_robot_test "$SCM" -N "${OUTPUT_NAME}-hsync" debug/ozone-debug-lease-recovery.robot + execute_robot_test "$SCM" -N "${OUTPUT_NAME}-hsync" admincli/lease-recovery.robot execute_robot_test "$SCM" -N "${OUTPUT_NAME}-freon-hsync" freon/hsync.robot } diff --git a/hadoop-ozone/dist/src/main/smoketest/hsync/upgrade-hsync-check.robot b/hadoop-ozone/dist/src/main/smoketest/hsync/upgrade-hsync-check.robot index 1250ad1344e5..7e593cf7abb3 100644 --- a/hadoop-ozone/dist/src/main/smoketest/hsync/upgrade-hsync-check.robot +++ b/hadoop-ozone/dist/src/main/smoketest/hsync/upgrade-hsync-check.robot @@ -45,10 +45,10 @@ Freon DFSG Test HSync lease recover prior to finalization Create volume bucket and put key ${o3fs_path} = Format FS URL o3fs ${VOLUME} ${BUCKET} ${KEY} - ${result} = Execute and checkrc ozone debug recover --path=${o3fs_path} 255 + ${result} = Execute and checkrc ozone admin om lease recover --path=${o3fs_path} 255 Should contain ${result} It belongs to the layout feature HBASE_SUPPORT, whose layout version is 7 ${ofs_path} = Format FS URL ofs ${VOLUME} ${BUCKET} ${KEY} - ${result} = Execute and checkrc ozone debug recover --path=${ofs_path} 255 + ${result} = Execute and checkrc ozone admin om lease recover --path=${ofs_path} 255 Should contain ${result} It belongs to the layout feature HBASE_SUPPORT, whose layout version is 7 Generate key for o3fs by HSYNC prior to finalization