xylaaaaa opened a new pull request, #61932:
URL: https://github.com/apache/doris/pull/61932

   ### What changed
   
   - switched the Paimon JDBC Spark seed path in `test_paimon_jdbc_catalog` to 
use a MinIO endpoint that is reachable from the `spark-iceberg` container when 
the paired MinIO container is present
   - kept the Doris catalog configuration on the existing external endpoint path
   - changed the test-local `executeCommand()` helper to consume stdout/stderr 
and apply explicit timeouts so command failures surface instead of hanging 
forever
   
   ### Why this changed
   
   The branch-4.1 external regression pipeline on `vm-57` was hanging in 
`test_paimon_jdbc_catalog` while running `docker exec ... spark-sql`.
   
   Root cause:
   
   - the Spark seed command was configured with 
`http://${externalEnvIp}:${minioPort}`
   - on the affected CI host, that host-mapped MinIO endpoint was reachable 
from the host, but not from inside `doris-external--spark-iceberg`
   - Spark therefore blocked in repeated S3A `AmazonS3Client.getObjectMetadata` 
retries while initializing the Paimon catalog
   - the regression test helper used `ProcessBuilder.waitFor()` without 
consuming output or enforcing a timeout, so the suite appeared to hang 
indefinitely
   
   Using the in-network MinIO container endpoint fixes the actual connectivity 
issue for the Spark seed path, and the safer command helper prevents future 
silent hangs.
   
   ### Impact
   
   - fixes the branch-4.1 Paimon JDBC external regression path on Docker-based 
CI environments where container-to-host mapped MinIO access is unreliable
   - limits the behavior change to the Spark seeding step of this one 
regression suite
   - improves failure visibility for the suite's external command execution
   
   ### Validation
   
   - remote manual reproduction on `vm-57`
   - confirmed the original Spark command hung when the seed path used 
`http://172.20.57.57:19001`
   - confirmed the same Spark command returned successfully in a few seconds 
when switched to `http://doris-external--minio:9000`
   - verified the clean cherry-pick branch contains only this single regression 
test change
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to