[ 
https://issues.apache.org/jira/browse/RANGER-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Endre Kovacs updated RANGER-1739:
---------------------------------
    Comment: was deleted

(was: From 490f1ca0b5a9374c695fcd124a8fc2bc3855cac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Endre=20Kov=C3=A1cs?= <[email protected]>
Date: Thu, 17 Aug 2017 16:26:38 +0200
Subject: [PATCH 1/1] RANGER-1739: replaced broken Oracle link of JDK8

---
 build_ranger_using_docker.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git build_ranger_using_docker.sh build_ranger_using_docker.sh
index fb722344..ff093a50 100755
--- build_ranger_using_docker.sh
+++ build_ranger_using_docker.sh
@@ -67,8 +67,8 @@ RUN yum install -y wget
 RUN yum install -y git
 RUN yum install -y gcc
 
-#Download and install JDK8 from Oracle
-RUN wget --no-cookies --no-check-certificate --header "Cookie: 
gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; 
oraclelicense=accept-securebackup-cookie" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm
+#Download and install JDK8 from AWS s3's docker-assets 
+RUN wget 
https://s3.eu-central-1.amazonaws.com/docker-assets/dist/jdk-8u101-linux-x64.rpm
 RUN rpm -i jdk-8u101-linux-x64.rpm
 
 ENV JAVA_HOME /usr/java/latest
-- 
2.11.0 (Apple Git-81)

)

> build_ranger_using_docker script cannot download jdk8
> -----------------------------------------------------
>
>                 Key: RANGER-1739
>                 URL: https://issues.apache.org/jira/browse/RANGER-1739
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: master
>            Reporter: Endre Kovacs
>            Assignee: Don Bosco Durai
>            Priority: Trivial
>              Labels: building, docker, patch, ranger
>             Fix For: master
>
>         Attachments: 
> 0001-RANGER-1739-replaced-broken-Oracle-link-of-JDK8.patch
>
>
> when running the build_ranger_using_docker.sh at the root of the ranger git 
> repo, it fails at downloading the JDK:
> {code}
> Step 7/27 : RUN wget --no-cookies --no-check-certificate --header "Cookie: 
> gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; 
> oraclelicense=accept-securebackup-cookie" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm
>  ---> Running in b584c91a8c0c
> --2017-08-17 14:17:26--  
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm
> Resolving download.oracle.com (download.oracle.com)... 184.25.56.53, 
> 184.25.56.42
> Connecting to download.oracle.com (download.oracle.com)|184.25.56.53|:80... 
> connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: 
> https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm
>  [following]
> --2017-08-17 14:17:27--  
> https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm
> Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.38.230.138, 
> 2600:1406:1a:394::2d3e, 2600:1406:1a:3a1::2d3e
> Connecting to edelivery.oracle.com 
> (edelivery.oracle.com)|23.38.230.138|:443... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm?AuthParam=1502979568_edc79e4130b659b00994116519f1815c
>  [following]
> --2017-08-17 14:17:28--  
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm?AuthParam=1502979568_edc79e4130b659b00994116519f1815c
> Connecting to download.oracle.com (download.oracle.com)|184.25.56.53|:80... 
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2017-08-17 14:17:29 ERROR 404: Not Found.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to