Zoltan Borok-Nagy has posted comments on this change. ( https://gerrit.cloudera.org/24839 )
Change subject: IMPALA-15146: Extend Impala Minicluster with an S3-compatible object store for testing vended credentials ...................................................................... Patch Set 9: (9 comments) Thanks for working on this! Also checked with Opus 5.5. https://gerrit.cloudera.org/#/c/24839/9//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/24839/9//COMMIT_MSG@33 PS9, Line 33: igs are added: iceberg_s3_vended_config with unwrapped line https://gerrit.cloudera.org/#/c/24839/9//COMMIT_MSG@50 PS9, Line 50: Assisted-by: Claude Fable 5.1 <[email protected]> trailer should have the form "Assisted-by: <model> (<agent-name>)" https://gerrit.cloudera.org/#/c/24839/9/testdata/bin/kill-lakekeeper-s3.sh File testdata/bin/kill-lakekeeper-s3.sh: https://gerrit.cloudera.org/#/c/24839/9/testdata/bin/kill-lakekeeper-s3.sh@22 PS9, Line 22: cd "${IMPALA_HOME}/testdata/bin/minicluster_lakekeeper_s3" nit: please add "set -euo pipefail". If the cd fails, "docker compose down -v" runs against whatever compose project is in the caller's directory. https://gerrit.cloudera.org/#/c/24839/9/testdata/bin/minicluster_lakekeeper_s3/bootstrap.py File testdata/bin/minicluster_lakekeeper_s3/bootstrap.py: https://gerrit.cloudera.org/#/c/24839/9/testdata/bin/minicluster_lakekeeper_s3/bootstrap.py@95 PS9, Line 95: # credential resolution/refresh in the backend for a single scan. nit: no test exercises credential refresh, so this comment and the one at line 187 are misleading. Is 100 separate commits needed? The test only checks the row count. https://gerrit.cloudera.org/#/c/24839/9/testdata/bin/minicluster_lakekeeper_s3/docker-compose.yaml File testdata/bin/minicluster_lakekeeper_s3/docker-compose.yaml: https://gerrit.cloudera.org/#/c/24839/9/testdata/bin/minicluster_lakekeeper_s3/docker-compose.yaml@58 PS9, Line 58: image: ${LAKEKEEPER_TEST__SERVER_IMAGE:-quay.io/lakekeeper/catalog:latest-main} latest-main is a moving nightly tag and pull_policy is "always", so the test can break without any Impala change. Please pin a release, like the existing stack does (v0.8.3-hdfs-preview). Same for keycloak:latest at line 136. https://gerrit.cloudera.org/#/c/24839/9/testdata/configs/catalog_configs/iceberg_s3_vended_config/s3-vended.properties File testdata/configs/catalog_configs/iceberg_s3_vended_config/s3-vended.properties: https://gerrit.cloudera.org/#/c/24839/9/testdata/configs/catalog_configs/iceberg_s3_vended_config/s3-vended.properties@23 PS9, Line 23: # Impala's VendedCredential.toHadoopConfig() translates these to Hadoop nit: the class is now Credential (and TCredential at line 38). The ${ENV:...} note at line 42 does not apply either https://gerrit.cloudera.org/#/c/24839/9/tests/custom_cluster/test_iceberg_credential_vending.py File tests/custom_cluster/test_iceberg_credential_vending.py: https://gerrit.cloudera.org/#/c/24839/9/tests/custom_cluster/test_iceberg_credential_vending.py@51 PS9, Line 51: CMD_CREDENTIALS_ARGS = ( These are the RustFS root keys, so test_scan_with_cmd_and_vended_credentials passes whichever credential wins. Bogus global keys would make "the vended one wins" a real assertion. https://gerrit.cloudera.org/#/c/24839/9/tests/custom_cluster/test_iceberg_credential_vending.py@83 PS9, Line 83: if CORE_CONF.get('fs.s3a.endpoint') != RUSTFS_ENDPOINT: Nothing in the repo sets S3_ENDPOINT, so this skip is taken in every precommit and nightly run and the test never executes. Could core-site.xml.py set per-bucket keys (fs.s3a.bucket.impala-iceberg-test.endpoint, .path.style.access, .connection.ssl.enabled) unconditionally instead? Then the env var, the config regeneration and this skip would not be needed. https://gerrit.cloudera.org/#/c/24839/9/tests/custom_cluster/test_iceberg_credential_vending.py@167 PS9, Line 167: self.execute_query_expect_failure( This passes on any failure, e.g. a catalog or planning error. Please assert on the expected S3 authentication error message. -- To view, visit https://gerrit.cloudera.org/24839 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I913b43300f8e0c7052b0b1fea609dc0ad50bce9b Gerrit-Change-Number: 24839 Gerrit-PatchSet: 9 Gerrit-Owner: Peter Rozsa <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Laszlo Gaal (Cloudera) <[email protected]> Gerrit-Reviewer: Peter Rozsa <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Mon, 23 Nov 2026 15:54:54 +0000 Gerrit-HasComments: Yes
