This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new b9419a0b648 [fix](p2) throw Exception if hdfs is not enable (#52761)
b9419a0b648 is described below
commit b9419a0b64844cf629a3f0e48cafdee5b4868eca
Author: yagagagaga <[email protected]>
AuthorDate: Wed Jul 23 00:36:07 2025 +0800
[fix](p2) throw Exception if hdfs is not enable (#52761)
---
.../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]