[
https://issues.apache.org/jira/browse/HIVE-29500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor updated HIVE-29500:
--------------------------------
Description:
{code:java}
cd packaging/src/docker
./build.sh -hive 4.0.0 -hadoop 3.4.1 -tez 0.10.3
{code}
gives:
{code:java}
Downloading Hive from
https://downloads.apache.org/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz...
+ curl --fail -L
https://downloads.apache.org/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz -o
/Users/lbodor/apache/hive/packaging/src/docker/../../cache/apache-hive-4.0.0-bin.tar.gz.tmp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
+ echo 'Failed to download Hive, exiting...'
Failed to download Hive, exiting...
{code}
this is because only the latest release is present at
[https://downloads.apache.org/hive/] at the moment:
!Screenshot 2026-03-10 at 11.18.47.png|width=429,height=217!
even if referring to 4.2.0 is a working solution, we need to take care of older
versions because:
1. we want to make it work in case the README hasn't been updated to newer
versions
2 we want to make users be able to try out older versions too, because one of
the main motivations was bootstrap hive as quick as possible, but reproducing
problems on older versions is also a valid scenario
for hadoop and tez I can see the older ones:
https://downloads.apache.org/hadoop/common/
https://downloads.apache.org/tez/
was:
{code:java}
cd packaging/src/docker
./build.sh -hive 4.0.0 -hadoop 3.4.1 -tez 0.10.3
{code}
gives:
{code:java}
Downloading Hive from
https://downloads.apache.org/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz...
+ curl --fail -L
https://downloads.apache.org/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz -o
/Users/lbodor/apache/hive/packaging/src/docker/../../cache/apache-hive-4.0.0-bin.tar.gz.tmp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
+ echo 'Failed to download Hive, exiting...'
Failed to download Hive, exiting...
{code}
this is because only the latest release is present at
[https://downloads.apache.org/hive/] at the moment:
!Screenshot 2026-03-10 at 11.18.47.png|width=429,height=217!
even if referring to 4.2.0 is a working solution, we need to take care of older
versions because:
1. we want to make it work in case the README hasn't been updated to newer
versions
2 we want to make users be able to try out older versions too, because one of
the main motivations was bootstrap hive as quick as possible, but reproducing
problems on older versions is also a valid scenario
> Docker build fails for older hive versions
> ------------------------------------------
>
> Key: HIVE-29500
> URL: https://issues.apache.org/jira/browse/HIVE-29500
> Project: Hive
> Issue Type: Bug
> Reporter: László Bodor
> Priority: Major
> Attachments: Screenshot 2026-03-10 at 11.18.47.png
>
>
> {code:java}
> cd packaging/src/docker
> ./build.sh -hive 4.0.0 -hadoop 3.4.1 -tez 0.10.3
> {code}
> gives:
> {code:java}
> Downloading Hive from
> https://downloads.apache.org/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz...
> + curl --fail -L
> https://downloads.apache.org/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz -o
> /Users/lbodor/apache/hive/packaging/src/docker/../../cache/apache-hive-4.0.0-bin.tar.gz.tmp
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left Speed
> 0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (22) The requested URL returned error: 404
> + echo 'Failed to download Hive, exiting...'
> Failed to download Hive, exiting...
> {code}
> this is because only the latest release is present at
> [https://downloads.apache.org/hive/] at the moment:
> !Screenshot 2026-03-10 at 11.18.47.png|width=429,height=217!
> even if referring to 4.2.0 is a working solution, we need to take care of
> older versions because:
> 1. we want to make it work in case the README hasn't been updated to newer
> versions
> 2 we want to make users be able to try out older versions too, because one of
> the main motivations was bootstrap hive as quick as possible, but reproducing
> problems on older versions is also a valid scenario
> for hadoop and tez I can see the older ones:
> https://downloads.apache.org/hadoop/common/
> https://downloads.apache.org/tez/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)