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

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


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 187fddf79e2 branch-4.0: Fix recycler case with kerberos config (#56528)
187fddf79e2 is described below

commit 187fddf79e2d32e043f495c8596e1f545b3d0fbc
Author: Yixuan Wang <[email protected]>
AuthorDate: Sun Sep 28 08:54:39 2025 +0800

    branch-4.0: Fix recycler case with kerberos config (#56528)
    
    pick:https://github.com/apache/doris/pull/56511
---
 regression-test/plugins/cloud_recycler_plugin.groovy          | 1 +
 regression-test/suites/cloud_p0/recycler/test_checker.groovy  | 1 +
 regression-test/suites/cloud_p0/recycler/test_recycler.groovy | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/regression-test/plugins/cloud_recycler_plugin.groovy 
b/regression-test/plugins/cloud_recycler_plugin.groovy
index 1a9fbe2f4a5..bdd2f9d2f18 100644
--- a/regression-test/plugins/cloud_recycler_plugin.groovy
+++ b/regression-test/plugins/cloud_recycler_plugin.groovy
@@ -118,6 +118,7 @@ Suite.metaClass.checkRecycleTable = { String token, String 
instanceId, String cl
 
     suite.getLogger().info(getObjStoreInfoApiResult.result.toString())
     if (getObjStoreInfoApiResult.result.toString().contains("storage_vault=[") 
&& getObjStoreInfoApiResult.result.toString().contains("hdfs_info")) {
+        System.setProperty("java.security.krb5.conf", "/etc/krb/krb5.conf")
         String fsUri = 
getObjStoreInfoApiResult.result.storage_vault[0].hdfs_info.build_conf.fs_name
         String prefix = 
getObjStoreInfoApiResult.result.storage_vault[0].hdfs_info.prefix
         String kbsPrincipal = ''
diff --git a/regression-test/suites/cloud_p0/recycler/test_checker.groovy 
b/regression-test/suites/cloud_p0/recycler/test_checker.groovy
index 0b0822bd734..ee07c15078c 100644
--- a/regression-test/suites/cloud_p0/recycler/test_checker.groovy
+++ b/regression-test/suites/cloud_p0/recycler/test_checker.groovy
@@ -106,6 +106,7 @@ suite("test_checker") {
         logger.info("delete objectKey: ${objectKey}")
         s3Client.deleteObject(new DeleteObjectRequest(bucket, objectKey))
     } else if 
(getObjStoreInfoApiResult.result.toString().contains("storage_vault=[") && 
getObjStoreInfoApiResult.result.toString().contains("hdfs_info")) {
+        System.setProperty("java.security.krb5.conf", "/etc/krb/krb5.conf")
         String fsUri = 
getObjStoreInfoApiResult.result.storage_vault[0].hdfs_info.build_conf.fs_name
         String prefix = 
getObjStoreInfoApiResult.result.storage_vault[0].hdfs_info.prefix
         String hdfsPath = "/${prefix}/data/${tabletId}/"
diff --git a/regression-test/suites/cloud_p0/recycler/test_recycler.groovy 
b/regression-test/suites/cloud_p0/recycler/test_recycler.groovy
index 02356ec1ec5..ec4863ef381 100644
--- a/regression-test/suites/cloud_p0/recycler/test_recycler.groovy
+++ b/regression-test/suites/cloud_p0/recycler/test_recycler.groovy
@@ -97,7 +97,7 @@ suite("test_recycler") {
         triggerCheckerApi.call() {
             respCode, body ->
                 log.info("http cli result: ${body} ${respCode}".toString())
-                triggerCheckerResult = body
+                def triggerCheckerResult = body
                 
logger.info("triggerCheckerResult:${triggerCheckerResult}".toString())
                 assertTrue(triggerCheckerResult.trim().equalsIgnoreCase("OK"))
         }


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

Reply via email to