You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Endre Kovacs (JIRA)" <ji...@apache.org> on 2017/09/01 13:26:00 UTC

[jira] [Commented] (RANGER-1739) build_ranger_using_docker script cannot download jdk8

    [ https://issues.apache.org/jira/browse/RANGER-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150519#comment-16150519 ] 

Endre Kovacs commented on RANGER-1739:
--------------------------------------

Please see my comment at the review, about how to apply the patch: it needs the additional -p0 flag.

git apply -p0 --check 0001-RANGER-1739-replaced-broken-Oracle-link-of-JDK8.patch

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