[ 
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!

  was:
{code}
cd packaging/src/docker
./build.sh -hive 4.0.0 -hadoop 3.4.1 -tez 0.10.3
{code}

gives:
{code}
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! 



> 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!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to