Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Critical connector-state leakage can redirect AWS operations to custom stores and expose unrelated session tokens, while a new Java test throws before reaching its assertions.
5 open issues
Reset bucket configuration when switching from custom to AWS storage · New Scope endpoint credentials and session tokens to the bucket · New Set the S3 connector type in the endpoint configuration test · New Clear stale bucket endpoint settings when switching to AWS · New Prevent endpoint credentials from inheriting an unrelated session token · New
What changed in this PR
Adds S3-compatible storage support across the Python and Java clients, execution engines, and CLI while preserving legacy AWS configuration paths. Private CA support remains deferred.
Changes:
- Adds endpoint and addressing-style fields, CLI flags, and checks for backends that discard endpoints.
- Configures Spark, boto3, delta-rs, and PyIceberg for custom stores, including checksum compatibility.
- Fixes S3 pagination and Delta history credentials, expands tests, and updates data-source guidance.
| File | Description |
|---|---|
python/tests/test_storage_connector.py |
Tests endpoint serialization, options, and backend compatibility checks. |
python/tests/fixtures/storage_connector_fixtures.json |
Adds endpoint fields to the S3 fixture. |
python/tests/engine/test_spark.py |
Tests bucket-scoped endpoint settings and region precedence. |
python/tests/engine/test_python.py |
Tests pagination, empty listings, endpoints, and checksum headers. |
python/tests/core/test_iceberg_engine.py |
Tests endpoint file IO and environment restoration. |
python/tests/core/test_delta_engine.py |
Tests custom S3 storage options. |
python/tests/cli/test_datasource.py |
Tests endpoint flags and older-backend detection. |
python/hsfs/storage_connector.py |
Adds endpoint fields, persistence checks, and connector options. |
python/hsfs/engine/spark.py |
Applies endpoint settings at bucket scope. |
python/hsfs/engine/python.py |
Configures boto3 endpoints and fixes listing pagination. |
python/hsfs/core/iceberg_file_io.py |
Adds checksum-compatible PyIceberg file IO. |
python/hsfs/core/iceberg_engine.py |
Selects endpoint properties and compatible file IO. |
python/hsfs/core/delta_engine.py |
Adds endpoint options and credentials for history reads. |
python/hopsworks/skills/ml/hops-reqs/references/data-sources.md |
Documents S3-compatible connection requirements. |
python/hopsworks/skills/data/hops-data-sources/SKILL.md |
Adds an S3-compatible CLI example. |
python/hopsworks/cli/commands/datasource.py |
Adds endpoint flags and detects discarded endpoints. |
java/spark/src/test/java/com/logicalclocks/hsfs/spark/TestStorageConnector.java |
Adds bucket-scoped endpoint configuration coverage. |
java/spark/src/main/java/com/logicalclocks/hsfs/spark/engine/SparkEngine.java |
Applies bucket-scoped endpoints, credentials, and region. |
java/hsfs/src/main/java/com/logicalclocks/hsfs/StorageConnector.java |
Adds endpoint and path-style fields. |
Review effort: Balanced
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
🟡 Changes recommended
Bucket-ownership checks fail across reconnects and Glue setup, allowing S3 operations to target the wrong store, while explicit credential providers are not reliably applied.
4 open issues
5 resolved since last review
Prevent endpoint credentials from inheriting an unrelated session token Clear stale bucket endpoint settings when switching to AWS Set the S3 connector type in the endpoint configuration test Scope endpoint credentials and session tokens to the bucket Reset bucket configuration when switching from custom to AWS storage
Review effort: Balanced
There was a problem hiding this comment.
🟡 Changes recommended
Active issues can silently drop custom endpoints or route cross-bucket reads to AWS or another store in both SDKs, while Java also ignores an explicitly configured credentials provider when a session token is present.
4 open issues
Reject S3 paths whose bucket differs from the configured endpoint bucket · New Reject S3 paths whose bucket differs from the configured endpoint bucket · New Validate endpoint support in FeatureStore data source creation · New Honor the explicit S3 credentials provider when a session token is set · New
4 resolved since last review
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
Human assessment is needed because both Spark engines can miss bucket collisions during cross-bucket AWS reads, allowing another store’s endpoint and credentials to be used.
No open issues 🎉
4 resolved since last review
Review effort: Balanced
dhananjay-mk
left a comment
There was a problem hiding this comment.
FSTORE-2163 review summary: security, regression and maintainability
Reviewed commit 204717d alongside the six sibling PRs.
- Must Fix: The store-collision guard still misses an AWS connector reading an absolute S3 path in a different bucket. Both Python and Java check the connector's configured bucket rather than the actual read bucket. The inline comments describe the remaining case.
- Should Fix: Python's process-global bucket registry has no Spark application identity, so a new engine/application in the same process retains prior bucket claims. Preserve reconnect protection while defining safe retirement of claims when the underlying application and filesystem cache change.
- Maintenance risks: The PyIceberg private FileIO override temporarily changes process-wide checksum environment settings. Its lock does not coordinate unrelated client creation in other threads. Also consider rejecting known older backends before endpoint create/update requests; the response check currently detects endpoint loss after the mutation.
A source-level A/B probe held the AWS connector and read path constant. Without prior endpoint configuration, the read path had no custom bucket endpoint; with prior configuration, it retained https://store.example.com and no collision was raised. This verifies configuration state, not a live Spark network request. A separate isolated probe confirmed registry retention across fresh engine objects.
Observed CI unit matrices/importability/lint/docs/public-API checks passed. Release verification should include the existing AWS S3 workflows, IAM-role paths, Java Spark integration, and the actual published runtime images. The PR set reports branch-built images, not stock image verification.
Validation scope: static cross-project review, targeted local configuration probes, and GitHub CI inspection. No live cluster tests were rerun. JIRA/Confluence acceptance criteria were unavailable in this session.
|
Thanks for the review. The two Must Fix threads are fixed in d9e843b and the lifetime thread is answered inline. On the maintenance points: creating or updating a data source with an endpoint on a backend older than 5.3 is now refused before the request, as tags are, and the response check stays for a backend whose version the client does not know. The PyIceberg checksum override is the accepted risk in the PR description: the environment change is scoped and locked, and an AWS client another thread builds during it also takes |
There was a problem hiding this comment.
🟡 Changes recommended
Critical race conditions in the Python and Java validation-and-claim sequences allow concurrent reads to claim the same bucket for different stores, potentially accessing the wrong store.
2 open issues
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
Human assessment is needed to evaluate potential authentication regressions from overridden storage settings and an untested Delta history path that can silently fall back.
No open issues 🎉
2 resolved since last review
Review effort: Balanced
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 An S3 data source could only target AWS. Stores such as Dell ECS, MinIO or Ceph were reachable only through Hadoop options in the data source's Spark options, which Spark honoured but backend browsing and deletion, the Python engine's Delta and Iceberg paths and Arrow Flight reads ignored or applied in part. The data source gains an endpoint and a path-style setting as the only opt-in; the backend, the Python and Java SDKs, flyingduck and the UI each honour them, and data sources without an endpoint behave as before. The Python S3Connector exposes endpoint and path_style_access, sends them on save and update, and raises when an older backend drops a requested endpoint instead of silently targeting AWS. Every Python path that reaches S3 through the connector uses them: Spark writes the endpoint, path style and TLS flag at bucket scope only, so a later AWS data source in the same session is not redirected; boto3 reads, delta-rs (whose object_store takes a virtual-hosted endpoint with the bucket in it) and PyIceberg receive the endpoint and addressing style. Without an endpoint every path behaves as before, including the legacy fs.s3a.* Spark options. connector_options() derives its DuckDB-style keys from the endpoint, and no longer treats "false" in fs.s3a.connection.ssl.enabled or fs.s3a.path.style.access as true. The Java SDK writes the same settings, credentials and region at bucket scope. The CLI gains --endpoint and --path-style-access, and the data source skills describe them. Two fixes ride along: the boto3 reader paginated on a key boto3 never returns and stopped at 1000 objects, and the delta-rs history read opened S3 tables without credentials. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 A MinIO request trace from the S3-compatible loadtests showed the Python engine's Iceberg writes sending every upload as aws-chunked with an x-amz-checksum-crc64nvme trailer. They go through PyIceberg's PyArrow file IO, whose aws-sdk-cpp (1.11.800 in PyArrow 25.0.1) adds the trailer by default. Stores such as Dell ECS refuse flexible checksums on PUT and multipart upload. Delta (delta-rs), Spark and the backend sent none. Neither PyArrow nor PyIceberg exposes the SDK's checksum switch, so a data source with an endpoint sets the SDK's process-wide AWS_REQUEST_CHECKSUM_CALCULATION and AWS_RESPONSE_CHECKSUM_VALIDATION to when_required, keeping a value the user already set. An A/B against MinIO with PyArrow 25.0.1 showed the trailer gone with the variables set, also when set after pyarrow is imported. Data sources without an endpoint leave the environment as it was. The S3 test now asserts the variables per case, and a new test that a user's value is kept. The S3 and GCS tests restore os.environ through patch.dict: monkeypatch.delenv on an absent variable records nothing, so the GCS test left GOOGLE_APPLICATION_CREDENTIALS set for the rest of the session. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 A review before opening the pull requests found four gaps in the client. The Iceberg path set AWS_REQUEST_CHECKSUM_CALCULATION and AWS_RESPONSE_CHECKSUM_VALIDATION for the whole process once a data source with an endpoint was used, so every AWS client built later in that process, in user code too, sent checksums only when required: a PutObject with an Object Lock retention then carries neither a checksum nor Content-MD5, which S3 requires there. aws-sdk-cpp reads the variables when it builds a client, so an endpoint data source now loads a PyArrow file IO, through PyIceberg's py-io-impl property, that sets them only while it builds its own S3 filesystem and removes them afterwards, keeping any value set by the user or by another thread meanwhile. Against a local fake S3 server with PyArrow 25.0.1, the filesystem built that way sends no CRC64NVME trailer, while ones built before and after it send the trailer as before. A catalog named through the iceberg.catalog write option gets the same file IO unless the options name one. An AWS client that another thread builds during one such construction still takes the setting: an accepted risk, documented on the class. The boto3 client that reads an endpoint data source's files left botocore's default response validation on, so GetObject sent x-amz-checksum-mode, a flexible checksum header such stores may refuse. It now computes and validates checksums only when required, on botocore versions that have those options. A Spark option fs.s3a.endpoint.region overrode the data source's region at bucket scope, so Spark signed for another region than the backend and the Java SDK. The typed region is now written after the forwarded options. The CLI reported success when a cluster that predates S3-compatible storage dropped the endpoint and created an AWS data source; it now fails, as Python save() does. Reviewed-by: OpenAI Codex (codex-plugin-cc 1.0.6) <codex@openai.com> Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 A regression test for saving an S3 data source with an endpoint and tags together: the tags reach the create request and a response that kept the endpoint is returned as is. Reviewed-by: OpenAI Codex (codex-plugin-cc 1.0.6) <codex@openai.com> Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 Make the region of an S3 data source with an endpoint optional. Without one the backend stores us-east-1, which S3-compatible stores without regions accept, instead of refusing the data source. The S3Connector and endpoint docstrings, the CLI's --region and --endpoint help and the data source skills say that the region defaults to us-east-1 with an endpoint. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 The bucket-scoped endpoint test sets the S3 connector type, which SparkEngine.setupConnectorHadoopConf dispatches on since the Spark 4.1 upgrade; without it the test failed with a NullPointerException under the spark-4.1 profile. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 In the Python and Java Spark engines, a data source with an endpoint sets its bucket's credentials provider: the static provider, or the temporary one with the data source's own token when it has one. A provider named in the data source's options wins. The bucket no longer takes the global provider an earlier data source left in the session. s3a keeps one filesystem per bucket name for the life of the application, so both engines now record which store each bucket name is used with and raise FeatureStoreException when a data source uses the name with another store or endpoint, instead of reaching the first one. Data sources without an endpoint on the same bucket name behave as before. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 The Spark engines enforce one store per bucket name more widely. The Python engine keeps the bucket registry for the process instead of per engine: reconnecting builds a new engine, while the Spark application and its S3 filesystems stay. It records the bucket before changing any Hadoop setting, so a refused data source leaves the session as it was. A Glue data source has no bucket of its own. Both engines record the bucket of the path it reads, so a Glue table and an S3 data source with an endpoint cannot share a bucket name in one application, in either order. The Java engine's read passes the location for this. The Java engine sets a credentials provider that an endpoint data source names in its options at bucket scope, as the Python engine already does, and the static provider otherwise. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 An S3 data source with an endpoint sets the endpoint for its own bucket only, so reading or writing an absolute path in another bucket reached AWS, or another store the application had configured for that bucket name. The Python and Java Spark engines now raise FeatureStoreException for such a path before any Hadoop setting changes. Data sources without an endpoint keep reading other buckets as before. FeatureStore.create_data_source refuses a response that dropped the endpoint, as StorageConnector.save does, so an older backend cannot silently turn the data source into an AWS one. With a session token, the Java engine now gives the endpoint bucket the credentials provider the data source's options name, defaulting to the temporary provider, as the Python engine does. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 When the Arrow Flight server refuses a data source's endpoint because its host resolves to a loopback, link-local or unspecified address, the read error now says so after "Could not read data using Hopsworks Query Service.", as it does for an Oracle refusal. The message leaves out the host, which stays in the server's own error. Before, the reason was only in the exception's cause. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 A data source without an endpoint may read an absolute path in another bucket, which Spark opens with whatever that bucket is configured for. After a data source with an endpoint set that bucket up, the read went to its store with its keys and no error. The Python and Java Spark engines now record the path's bucket as well as the data source's own, both before any Hadoop setting, and either both or neither, so a read of a bucket another store uses raises FeatureStoreException and a refused data source claims nothing. The bucket registry stays for the process: every SparkContext of a PySpark process runs in the same JVM, and Hadoop's filesystem cache returned the same instance after stop() and a new context (PySpark 4.1.1). The error now says to use a new Spark application process. Creating or updating an S3 data source with an endpoint on a backend older than 5.3 is refused before the request, as tags are, instead of after the backend stored the data source without the endpoint. The response check stays for a backend whose version the client does not know. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndpoint, path-style access, private CA, legacy checksums) https://hopsworks.atlassian.net/browse/FSTORE-2163 Claiming a data source's buckets checks every bucket and then records them, so two reads with different stores for the same new bucket could both pass the check before either recorded it, and both would use the bucket. The Python engine now holds a module-level lock, shared by all Engine instances, across the check and the record, and the Java engine's claim is synchronized. A test pauses one claim between its check and its record while a second one runs; with the lock exactly one store gets the bucket, without it both do. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
python/tests/core/test_delta_engine.py conflicted only because both sides append test classes at the end of the file: this branch's TestDeltaRsStorageOptionsS3 and main's TestReplaceWrite, _DeltaLog and TestDeltaRsLog. Both are kept. Main's new delta-rs paths take their storage options from _get_delta_rs_storage_options, so they carry the data source's endpoint settings as well. Signed-off-by: Ralfs Zangis <ralfs@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


JIRA: https://hopsworks.atlassian.net/browse/FSTORE-2163
Summary
Client side of S3-compatible storage support for the S3 data source. Without an endpoint every path behaves as before, including the legacy
fs.s3a.*Spark options.S3Connector:endpointandpath_style_accessare sent on save and update. Saving, updating andFeatureStore.create_data_sourcerefuse an endpoint on a backend older than 5.3 before the request, and raise when a backend whose version the client does not know drops it, rather than silently targeting AWS.fs.s3a.endpoint.regioncannot make Spark sign for another region than the backend.FeatureStoreExceptionwhen a data source uses a bucket name the application already uses with another store or endpoint, since s3a keeps one filesystem per bucket name for the life of the application. A Glue table counts with the bucket of its location, and so does an absolute path a data source without an endpoint reads. The check holds across a reconnect to Hopsworks and across a new SparkContext in the same process, whose JVM keeps Hadoop's filesystem cache, and a refused data source leaves the session's settings and claims as they were. Claims are taken under a lock, so two concurrent reads cannot claim one bucket for different stores. A data source with an endpoint raises for a path in another bucket, since its endpoint is set for its own bucket only. Data sources without an endpoint behave as before unless the application also uses their bucket name with an endpoint.hsfs.core.iceberg_file_io._WhenRequiredChecksumFileIOthroughpy-io-impl. It setsAWS_REQUEST_CHECKSUM_CALCULATIONandAWS_RESPONSE_CHECKSUM_VALIDATIONtowhen_requiredonly while it builds its own S3 filesystem, since the SDK reads them when it builds a client. Other AWS clients in the process keep their defaults.when_required. This is documented on the class. Codex rated it Must Fix and proposed a worker process instead; see Review notes.connector_options(): derives its DuckDB-style keys from the endpoint. It no longer treats"false"infs.s3a.connection.ssl.enabledorfs.s3a.path.style.accessas true.--endpointand--path-style-access. Creation fails when the cluster predates the endpoint and drops it. The data source skills describe the flags.GOOGLE_APPLICATION_CREDENTIALSset for the rest of the test session.Review notes
A Codex pre-review and two second-opinion rounds covered the checksum isolation. The process-wide variables were replaced after round 1 showed they change unrelated AWS clients. The remaining disagreement is the construction-window race above: the window is one S3 filesystem construction with no network call, and a worker process would move every endpoint Iceberg read and write across a process boundary.
Related PRs
Merge hopsworks-api before loadtest, hopsworks-helm and logicalclocks.github.io: the new loadtest modules fail on a client without the endpoint, and the docs build reads the API reference from hopsworks-api
main, so its CI fails until then.Test plan
6110a9c3ae, rebased onto main: 8677 passed. The 5 avro tests that fail also fail on the base commit: the local environment lacks spark-avro.check_pep8_public.pyandcheck_importable.pypass.-Pspark-4.1 -Dspark.version=4.1.3: hsfs 49, hsfs-spark 103 one0a66ced6b, including the bucket provider with and without a session token, a provider named in the options, Glue locations, a location in another bucket, an AWS location in a bucket another store uses and one-store-per-bucket-name cases.x-amz-checksum-*header on ListObjectsV2 or GetObject; without the fix GetObject sendsx-amz-checksum-mode.Cluster verification
Dev cluster
bubriks(Hopsworks 5.3.0-SNAPSHOT running this ticket's backend, UI and flyingduck). The S3-compatible store is the cluster's MinIO (RELEASE.2024-03-26), which refuses DeleteObjects without Content-MD5 with the same error as Dell ECS.The loadtests, the checksum trace and the validation checks ran on 2026-11-12 on the PR heads: ee
04f2882347(rebased onto master with HWORKS-3338), apib4b5edf73c, front3afa3f65, flyingduck99f134c, loadtest300a12d. The CA chain runs used loadtest4cbe845: the full modules ran with a first version of its new case that upserted once, and the case as committed ran again on its own. The client in the test pod and in the Spark images was built from apia0dad9a5b6; the api commits after it change docstrings, help text and a Java test only. Hopsworks was installed from the hopsworks-helm headb6583d3c. The chart's Flyway run then applied master's V141 (HWORKS-3338 project roles) and this ticket's V142 on top of FSTORE-2158's V140, the path an upgrade takes. The upgrade baseline and the negative control ran on 2026-11-10 with ee01a56826c0; the ee changes since then refuse more endpoint forms, fix clearing an endpoint and default the region of a data source with an endpoint, and unit tests and the validation checks cover them.fs.s3a.*Spark options is the same before and after.us-east-1. The cluster's MinIO runs with regioneu-west-1, so browsing that data source fails with the store'sexpecting 'eu-west-1'error, as a wrong region does. A wrong secret or host also fails with a clear error. No response echoes a secret or the endpoint.MissingContentMD5) and accepts it with Content-MD5.S3_COMPATIBLEmodules (loadtest PR).https://with a certificate from a test CA (cert-manager), a third one from another CA, and a Service name the certificate does not cover. Kyverno 1.13.1 (chart 3.3.3),ca-pemstorebuilt as the new docs page describes, Hopsworks upgraded from hopsworks-helm566e877fwith the page's values, existing project namespaces resynced.us-east-1.unable to get issuer certificate) while the other five accept them; with both, all six reach both. The docs page now asks for the root and every intermediate CA.itemsentry for it. Afterwards the backend browses both chain stores and refuses the store of the rotated-out CA.8e4710a5cc, apid5039f70ac(the client in the test pod and the Spark images), frontd612b32c, flyingduckb81f6b1, loadtestd855646, against the store that sends the issuing CA.ip6-localhost, which the server pods resolve to::1, is refused when the backend's S3 client resolves it. The user sees the SDK's generic unknown-host error; the server log names the loopback address. A data source on the cluster's MinIO, a private ClusterIP, still reaches the store.cb3c4b850d(the client in the test pod and the Spark images), flyingduck9d96b27, loadtest26ce984, against the store that sends the issuing CA. The backend stayed on the round 1 build, since ee29edc0c57achanges onlytoString.ee9f60eada(the client in the test pod and the Spark images), loadtestf143ef9, Arrow Flight and the backend as in round 2 (eea83f8e4a49changes only request validation), against the store that sends the issuing CA.34a1c41, apiee9f60eada(the client in the test pod and the Spark images), Arrow Flight from flyingduck1997be3.connector.read, refuses a path in another bucket, writes a training dataset to the store, and reads through a data source set up withfs.s3a.*Spark options, as clusters before 5.3 had it. Python reads withconnector.read, creates a data source with the CLI's--endpointand--path-style-access, and an endpoint whose host name resolves to loopback (ip6-localhost) is refused by the backend and by Arrow Flight.MINIO_DOMAINon an sslip.io name for its ClusterIP, path-style access off): Python driver 10/10, PySpark driver 7/7, none skipped. The first Python run failed on Delta reads through Arrow Flight withInvalidBucketName: DuckDB 2.0.0's Delta reader builds virtual-hosted URLs without the bucket for a custom endpoint. flyingduck1997be3reads Delta tables with path-style requests.tests/upgrade/test_data_source.py, run before and after on this version: a data source set up withfs.s3a.*Spark options keeps its stored fields, with no endpoint, and Spark reads the store through it.8dd9c5d3beand UI from frontfdd4a210, both redeployed; apie0a66ced6b(the client in the test pod and the Spark images); loadtest5442df2; Arrow Flight from flyingduck1997be3(the rebase changed only its Dockerfile). Against the store that sends the issuing CA.Local checks on the PR heads:
.github/scripts/rondb_rehearsal/rehearse.sh) with this branch's migration image. RonDB 26.02.10 seeded at V139 (32 tables of 40000 rows), V140, V141 and V142 applied by Flyway 13.11.1 in 1.621 s, 0 failed rows, no table copied.DatabaseTest.testFlywayMigrationapplies all 138 migrations up to V142.DatabaseTestapplies all 140 migrations up to V144, andcheck_ddl_rondb.pypasses on it. The rehearsal and the cluster runs above applied it as V142.Not covered:
If-None-Match: *; the dev cluster's MinIO ignores it, so the loadtests show the commits work without it, not that a store enforces it. Whether Dell ECS 4.1 does is unknown.spark-feature-pipelinebase image was rebuilt with this branch's client, which the Spark jobs and the utility Spark jobs of the Python-engine flows (managed feature groups, training dataset sink) ran; the test pod installed the same client. The stock image ships the released client, which ignores the endpoint, so with it the managed feature group and training dataset sink tests fail with AWS 403s until images are built from merged code.🤖 Generated with Claude Code