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

Don Bosco Durai commented on RANGER-1739:
-----------------------------------------

[~ekovacs], faced the following issue when applying the patch.

git apply --check 0001-RANGER-1739-replaced-broken-Oracle-link-of-JDK8.patch 
fatal: git diff header lacks filename information when removing 1 leading 
pathname component (line 14)

Visually reviewed the diff and it looks good. Manually did the same change and 
it worked.

If any of the committer is able to apply the patch, then please apply and 
commit the patch. Else, [~ekovacs] can you please fix the patch.?

Thanks


> 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