Skip to content

HIVE-29500: Docker build fails for older hive versions#6354

Open
abstractdog wants to merge 1 commit intoapache:masterfrom
abstractdog:HIVE-29500
Open

HIVE-29500: Docker build fails for older hive versions#6354
abstractdog wants to merge 1 commit intoapache:masterfrom
abstractdog:HIVE-29500

Conversation

@abstractdog
Copy link
Contributor

@abstractdog abstractdog commented Mar 10, 2026

What changes were proposed in this pull request?

Use archive.apache.org while building docker images.

Why are the changes needed?

Because downloads.apache.org only contains the latest build, and devs might want to build older ones.

Does this PR introduce any user-facing change?

Not really, this is a dev-facing tools.

How was this patch tested?

 cd packaging/src/docker
 ./build.sh -hive 4.0.0 -hadoop 3.4.1 -tez 0.10.3

@sonarqubecloud
Copy link

@Aggarwal-Raghav
Copy link
Contributor

Aggarwal-Raghav commented Mar 10, 2026

Can't we use https://dlcdn.apache.org/ for hadoop and tez, the archive is very very slow to download — atleast for me !!

@ayushtkn
Copy link
Member

Can't we use https://dlcdn.apache.org/ for hadoop and tez, the archive is very very slow to download — atleast for me !!

It is mirror of https://downloads.apache.org/ afaik, Hadoop having all the versions seems to be a step missed in the release process, I will get it fixed, then it won't be there.

It actually doesn't have all the versions either, Like 3.1.0 used by one of our releases:

hive/pom.xml

Line 150 in 4df4d75

<hadoop.version>3.1.0</hadoop.version>

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

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

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants