Skip to content

GH-49524: [CI][Integration] Bump HDFS versions tested to use latest v2 and newest v3 - #50814

Open
raulcd wants to merge 4 commits into
apache:mainfrom
raulcd:GH-49524
Open

GH-49524: [CI][Integration] Bump HDFS versions tested to use latest v2 and newest v3#50814
raulcd wants to merge 4 commits into
apache:mainfrom
raulcd:GH-49524

Conversation

@raulcd

@raulcd raulcd commented Aug 5, 2026

Copy link
Copy Markdown
Member

Rationale for this change

When the issue was originally opened, the test-conda-python-3.10-hdfs-2.9.2 failed sporadically on a PR when upgrading some dependencies due to time out rebuilding the docker image.
A big chunk of time was spent on the job just downloading HDFS 2.9.2.

HDFS 2.9.2 was released on 2018. We test 2.9.2 and 3.2.1, released on 2019.

What changes are included in this PR?

Bump to newer versions, latests are 3.5.0 (2026) and from the v2 series, 2.10.2 (2022).
Bump default JDK to 17. The only other place where we currently use the JDK version on env was for Spark where we already are manually using JDK=17 on tasks.yml so no real change for any other job.

Are these changes tested?

Yes via the archery jobs

Are there any user-facing changes?

No

@raulcd
raulcd requested a review from assignUser as a code owner August 5, 2026 15:25
Copilot AI lite review requested due to automatic review settings August 5, 2026 15:25
@raulcd
raulcd requested review from jonkeane and kou as code owners August 5, 2026 15:25
@raulcd

raulcd commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-hdfs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates the HDFS versions used in CI/integration testing to newer v2 and v3 releases, aiming to reduce sporadic CI timeouts caused by slow downloads of older HDFS artifacts.

Changes:

  • Bump HDFS versions in the CI task matrix from 2.9.2/3.2.1 to 2.10.2/3.5.0
  • Update the default HDFS version used by the HDFS-enabled Docker image to 3.5.0
  • Update the repo’s .env default HDFS version to 3.5.0

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
dev/tasks/tasks.yml Updates the HDFS version matrix for CI task generation.
ci/docker/conda-python-hdfs.dockerfile Changes the default HDFS build arg to a newer version.
.env Aligns default HDFS version with the new CI/docker default.

Comment thread dev/tasks/tasks.yml
@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #49524 has been automatically assigned in GitHub to PR creator.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Revision: a7c35cb

Submitted crossbow builds: ursacomputing/crossbow @ actions-f937a83a40

Task Status
test-conda-python-3.11-hdfs-2.10.2 GitHub Actions
test-conda-python-3.11-hdfs-3.5.0 GitHub Actions

@raulcd
raulcd marked this pull request as draft August 5, 2026 16:40
@raulcd

raulcd commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

ok, 3.4.3 worked locally but 3.5.0 doesn't, I'll investigate requirements as it just seems like a JDK version issue.

@raulcd

raulcd commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-hdfs

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Revision: 3653540

Submitted crossbow builds: ursacomputing/crossbow @ actions-551ab1d4c1

Task Status
test-conda-python-3.11-hdfs-2.10.2 GitHub Actions
test-conda-python-3.11-hdfs-3.5.0 GitHub Actions

@raulcd
raulcd marked this pull request as ready for review August 6, 2026 11:58
Copilot AI review requested due to automatic review settings August 6, 2026 11:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (1)

ci/docker/conda-python-hdfs.dockerfile:33

  • The dockerfile still defaults to ARG jdk=11, but this PR bumps the default JDK in .env to 17 and compose.yaml wires ${JDK} into this image’s build args. Keeping a different default in the Dockerfile can be surprising when building it directly (without compose) and may lead to using Java 11 with Hadoop 3.5.0 unintentionally. Consider aligning the Dockerfile default to 17.
# installing libhdfs (JNI)
ARG hdfs=3.5.0

Copilot AI review requested due to automatic review settings August 6, 2026 12:23
@raulcd

raulcd commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-hdfs testspark

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Revision: 34191f1

Submitted crossbow builds: ursacomputing/crossbow @ actions-b83945da96

Task Status
test-conda-python-3.11-hdfs-2.10.2 GitHub Actions
test-conda-python-3.11-hdfs-3.5.0 GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting committer review Awaiting committer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants