Repository navigation
[Build] Upgrade the hadoop version to hadoop 3.4.2 - #1358
Merged
Merged
Conversation
Signed-off-by: Zheng Hu <[email protected]>
tdas
approved these changes
Feb 20, 2026
yili-db
pushed a commit
to yili-db/unitycatalog
that referenced
this pull request
Mar 12, 2026
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [ ] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** (Related issue is: unitycatalog#1175) Upgrade the default hadoop version from `hadoop 3.4.0` to `hadoop 3.4.2`, reason: 1. when I run the [integration tests](https://github.com/unitycatalog/unitycatalog/tree/main/integration-tests/src/test/java/io/unitycatalog/integrationtests) with azure cloud storage, the hadoop 3.4.0 always report the error. ```bash source ~/.uc-it-env.sh unset S3_BASE_LOCATION unset GS_BASE_LOCATION export CATALOG_NAME=main export SCHEMA_NAME=demo_zh export CATALOG_URI=$AZURE_CATALOG_URI export CATALOG_AUTH_TOKEN=$AZURE_CATALOG_AUTH_TOKEN export ABFSS_BASE_LOCATION=$ABFSS_BASE_LOCATION export CREDENTIAL_RENEWAL_TEST_DURATION_SECONDS=100 ./build/sbt -mem 4096 "integrationTests/testOnly io.unitycatalog.integrationtests.SparkCredentialRenewalTest" Caused by: java.io.IOException: Operation failed: "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.", 403, HEAD, https://***/*****, rId: 1864c91e-d01f-006c-6657-a18fbe000000 ``` But after upgrade to use the `hadoop 3.4.1` and above, then everything works as expected. 2. As we are planning to support both [spark 4.1 and spark 4.0](https://github.com/unitycatalog/unitycatalog/pull/1345/changes) for unitycatalog next release, actually, the spark 4.1 requires hadoop 3.4.2, otherwise it will have a minor class incompability issue. 3. Usually Apache Hadoop bugfix upgrade follow the bugfix guidelines, and we should always use the latest version of the bugfix release. Signed-off-by: Zheng Hu <[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.
PR Checklist
docsis updatedDescription of changes
(Related issue is: #1175)
Upgrade the default hadoop version from
hadoop 3.4.0tohadoop 3.4.2, reason:But after upgrade to use the
hadoop 3.4.1and above, then everything works as expected.As we are planning to support both spark 4.1 and spark 4.0 for unitycatalog next release, actually, the spark 4.1 requires hadoop 3.4.2, otherwise it will have a minor class incompability issue.
Usually Apache Hadoop bugfix upgrade follow the bugfix guidelines, and we should always use the latest version of the bugfix release.