[
https://issues.apache.org/jira/browse/RANGER-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152383#comment-16152383
]
Endre Kovacs commented on RANGER-1739:
--------------------------------------
hi [~bosco]
patch is updated at the review link.
i figured out why my patches were not applicable:
i had a global git setting that prevented prefixes (_git config --global
diff.noprefix true_)
so i had to override this at my local ranger git repo by:
{code:bash}
git config diff.noprefix false
{code}
then i proceeded creating the patch again. which then passed the _--check_ and
the _git am_ as well.
What do think [~bosco], should the contribution guide mention this git setting
to prevent future patch apply issues?
> 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)