Repository navigation
CI: Remove hdfs from Integration tests - #74295
Merged
Merged
Conversation
Contributor
|
This is an automated comment for commit cd569c7 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
alexey-milovidov
approved these changes
Jan 9, 2025
maxknv
enabled auto-merge
January 9, 2025 17:44
Merged
1 task
kute1654
pushed a commit
to kute1654/ClickHouse
that referenced
this pull request
Aug 10, 2026
Bring back the HDFS integration tests that were removed in ClickHouse#74295 ("CI: Remove hdfs from Integration tests", January 2025) while the HDFS support itself (the hdfs/hdfsCluster table functions, the HDFS table engine, the hdfs disk type and DatabaseHDFS) stayed in the tree. Restored: - tests/integration/compose/docker_compose_hdfs.yml - helpers/hdfs_api.py - without the Kerberos machinery, because the support for Kerberized HDFS was removed from ClickHouse in ClickHouse#66765 - with_hdfs support in helpers/cluster.py - test_storage_hdfs, test_merge_tree_hdfs, test_log_family_hdfs, test_redirect_url_storage - the HDFS cases of test_allowed_url_from_config and the "system drop schema cache for hdfs" cross-checks in test_storage_azure_blob_storage - PyHDFS in the integration tests runner image requirements Adapted to the current master where the expectations drifted since January 2025: - every part now writes columns_substreams.txt, so the per-part file counts in test_merge_tree_hdfs gained FILES_OVERHEAD_COLUMNS_SUBSTREAMS - auto_statistics_types defaults to "minmax, uniq" now and would add statistics files to parts, so the test tables disable it, matching test_merge_tree_s3 - detached parts now keep their metadata_version.txt, so DETACH PARTITION no longer reduces the object count - object count assertions poll until convergence instead of asserting immediately, matching the current test_log_family_s3 - ruff fixes (f-string and unused-variable cleanups) The tests are skipped on ARM, as before, because the prasanthj/docker-hadoop image is published for amd64 only. Not restored: the Kerberized HDFS tests (the feature is gone), the HDFS bits of test_disk_types, test_endpoint_macro_substitution and test_keeper_disks (these suites were since restructured to keep a single config for the public and private repos), and the icebergHDFS cases of the Iceberg suites (restructured into many modules; can be restored separately). Co-Authored-By: Claude Fable 5 <[email protected]>
PedroTadim
added a commit
that referenced
this pull request
Sep 18, 2026
The test needs a live HDFS, which the integration test framework cannot start here:
TypeError: ClickHouseCluster.add_instance() got an unexpected keyword argument
'with_hdfs'. Did you mean 'with_nats'?
HDFS was taken out of the integration tests in #74295 ("CI: Remove hdfs from
Integration tests", January 2025) while the HDFS support in the server stayed. It
was only brought back in #113396 ("Restore HDFS integration tests", August 2026),
which is after this branch was cut: `with_hdfs` in `helpers/cluster.py`,
`helpers/hdfs_api.py` and `compose/docker_compose_hdfs.yml` are all absent here.
The 26.8 and 26.9 backports of this change have all three and merged as they were.
The test cannot be adapted: it writes files through `hdfs_api.write_data` and reads
them back over `hdfs://hdfs1:9000`, so there is nothing to assert without a running
namenode. Restoring the framework support instead would add three files of shared
test infrastructure and a third-party Docker Hub image to a release branch for one
test, so the test is dropped here and the `DatabaseHDFS.cpp` fix is kept as-is. The
test still runs on master, 26.8 and 26.9.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
PedroTadim
added a commit
that referenced
this pull request
Sep 18, 2026
The test needs a live HDFS, which the integration test framework cannot start here:
TypeError: ClickHouseCluster.add_instance() got an unexpected keyword argument
'with_hdfs'. Did you mean 'with_nats'?
HDFS was taken out of the integration tests in #74295 ("CI: Remove hdfs from
Integration tests", January 2025) while the HDFS support in the server stayed. It
was only brought back in #113396 ("Restore HDFS integration tests", August 2026),
which is after this branch was cut: `with_hdfs` in `helpers/cluster.py`,
`helpers/hdfs_api.py` and `compose/docker_compose_hdfs.yml` are all absent here.
The 26.8 and 26.9 backports of this change have all three and merged as they were.
The test cannot be adapted: it writes files through `hdfs_api.write_data` and reads
them back over `hdfs://hdfs1:9000`, so there is nothing to assert without a running
namenode. Restoring the framework support instead would add three files of shared
test infrastructure and a third-party Docker Hub image to a release branch for one
test, so the test is dropped here and the `DatabaseHDFS.cpp` fix is kept as-is. The
test still runs on master, 26.8 and 26.9.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing)
All builds in Builds_1 and Builds_2 stages are always mandatory
and will run independently of the checks below: