branch-2.1: [fix](p2) throw Exception if hdfs is not enable (#52761) (#53811)

(cherry picked from PR #52761)
This commit is contained in:
yagagagaga
2025-07-25 09:50:10 +08:00
committed by GitHub
parent 5873aa3083
commit ddb3b46fff
7 changed files with 7 additions and 7 deletions

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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 ->

View File

@ -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)

View File

@ -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")