This is an automated email from the ASF dual-hosted git repository.

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 55bc89f8e2e branch-3.1: [fix](p2) throw Exception if hdfs is not 
enable #52761 (#53741)
55bc89f8e2e is described below

commit 55bc89f8e2eeae54ff05fdb2c4c05aeb5990950c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jul 23 10:32:34 2025 +0800

    branch-3.1: [fix](p2) throw Exception if hdfs is not enable #52761 (#53741)
    
    Cherry-picked from #52761
    
    Co-authored-by: yagagagaga <[email protected]>
---
 .../suites/cold_heat_separation_p2/add_drop_partition_by_hdfs.groovy    | 2 +-
 .../create_table_use_dynamic_partition_by_hdfs.groovy                   | 2 +-
 .../create_table_use_partition_policy_by_hdfs.groovy                    | 2 +-
 .../cold_heat_separation_p2/create_table_use_policy_by_hdfs.groovy      | 2 +-
 .../suites/cold_heat_separation_p2/load_colddata_to_hdfs.groovy         | 2 +-
 .../cold_heat_separation_p2/modify_replica_use_partition_by_hdfs.groovy | 2 +-
 .../table_modify_resouce_and_policy_by_hdfs.groovy                      | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/regression-test/suites/cold_heat_separation_p2/add_drop_partition_by_hdfs.groovy
 
b/regression-test/suites/cold_heat_separation_p2/add_drop_partition_by_hdfs.groovy
index 721c12d7dd4..7354fc74895 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/add_drop_partition_by_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/add_drop_partition_by_hdfs.groovy
@@ -20,7 +20,7 @@ import java.time.LocalDate;
 
 suite("add_drop_partition_by_hdfs") {
     if (!enableHdfs()) {
-        logger.info("skip this case because hdfs is not enabled");
+        throw new RuntimeException("Hdfs is not enabled, if you want to skip 
this case, please mute it in regression-conf.groovy");
     }
     def fetchBeHttp = { check_func, meta_url ->
         def i = meta_url.indexOf("/api")
diff --git 
a/regression-test/suites/cold_heat_separation_p2/create_table_use_dynamic_partition_by_hdfs.groovy
 
b/regression-test/suites/cold_heat_separation_p2/create_table_use_dynamic_partition_by_hdfs.groovy
index 0e64132ba51..bf811b217fb 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/create_table_use_dynamic_partition_by_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/create_table_use_dynamic_partition_by_hdfs.groovy
@@ -20,7 +20,7 @@ import java.time.LocalDate;
 
 suite("cold_heat_dynamic_partition_by_hdfs") {
     if (!enableHdfs()) {
-        logger.info("skip this case because hdfs is not enabled");
+        throw new RuntimeException("Hdfs is not enabled, if you want to skip 
this case, please mute it in regression-conf.groovy");
     }
     def fetchBeHttp = { check_func, meta_url ->
         def i = meta_url.indexOf("/api")
diff --git 
a/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy_by_hdfs.groovy
 
b/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy_by_hdfs.groovy
index ce4264480a8..8004b2dc772 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy_by_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy_by_hdfs.groovy
@@ -19,7 +19,7 @@ import org.codehaus.groovy.runtime.IOGroovyMethods
 
 suite("create_table_use_partition_policy_by_hdfs") {
     if (!enableHdfs()) {
-        logger.info("skip this case because hdfs is not enabled");
+        throw new RuntimeException("Hdfs is not enabled, if you want to skip 
this case, please mute it in regression-conf.groovy");
     }
     def fetchBeHttp = { check_func, meta_url ->
         def i = meta_url.indexOf("/api")
diff --git 
a/regression-test/suites/cold_heat_separation_p2/create_table_use_policy_by_hdfs.groovy
 
b/regression-test/suites/cold_heat_separation_p2/create_table_use_policy_by_hdfs.groovy
index 408f2e6275b..43e9e26cc94 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/create_table_use_policy_by_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/create_table_use_policy_by_hdfs.groovy
@@ -19,7 +19,7 @@ import org.codehaus.groovy.runtime.IOGroovyMethods
 
 suite("create_table_use_policy_by_hdfs") {
     if (!enableHdfs()) {
-        logger.info("skip this case because hdfs is not enabled");
+        throw new RuntimeException("Hdfs is not enabled, if you want to skip 
this case, please mute it in regression-conf.groovy");
     }
     def fetchBeHttp = { check_func, meta_url ->
         def i = meta_url.indexOf("/api")
diff --git 
a/regression-test/suites/cold_heat_separation_p2/load_colddata_to_hdfs.groovy 
b/regression-test/suites/cold_heat_separation_p2/load_colddata_to_hdfs.groovy
index 8aa2ded305a..089c89b72d5 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/load_colddata_to_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/load_colddata_to_hdfs.groovy
@@ -19,7 +19,7 @@ import org.codehaus.groovy.runtime.IOGroovyMethods
 
 suite("load_colddata_to_hdfs") {
     if (!enableHdfs()) {
-      logger.info("skip this case because hdfs is not enabled");
+      throw new RuntimeException("Hdfs is not enabled, if you want to skip 
this case, please mute it in regression-conf.groovy");
     }
 
     def fetchBeHttp = { check_func, meta_url ->
diff --git 
a/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition_by_hdfs.groovy
 
b/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition_by_hdfs.groovy
index f085a640907..6f69d913bef 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition_by_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition_by_hdfs.groovy
@@ -19,7 +19,7 @@ import org.codehaus.groovy.runtime.IOGroovyMethods
 
 suite("modify_replica_use_partition_by_hdfs") {
 if (!enableHdfs()) {
-    logger.info("skip this case because hdfs is not enabled");
+    throw new RuntimeException("Hdfs is not enabled, if you want to skip this 
case, please mute it in regression-conf.groovy");
 }
 def replicaNum = getFeConfig("force_olap_table_replication_num")
 setFeConfig("force_olap_table_replication_num", 0)
diff --git 
a/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy_by_hdfs.groovy
 
b/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy_by_hdfs.groovy
index 601d42ab0d2..574d9ef44fc 100644
--- 
a/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy_by_hdfs.groovy
+++ 
b/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy_by_hdfs.groovy
@@ -19,7 +19,7 @@ import org.codehaus.groovy.runtime.IOGroovyMethods
 
 suite("table_modify_resouce_by_hdfs") {
     if (!enableHdfs()) {
-        logger.info("skip this case because hdfs is not enabled");
+        throw new RuntimeException("Hdfs is not enabled, if you want to skip 
this case, please mute it in regression-conf.groovy");
     }
     def fetchBeHttp = { check_func, meta_url ->
         def i = meta_url.indexOf("/api")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to