You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Jitin Dominic (Jira)" <ji...@apache.org> on 2022/07/18 10:53:00 UTC
[jira] [Comment Edited] (MAPREDUCE-7397) Received status code 501 from server: HTTPS Required
[ https://issues.apache.org/jira/browse/MAPREDUCE-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567925#comment-17567925 ]
Jitin Dominic edited comment on MAPREDUCE-7397 at 7/18/22 10:52 AM:
--------------------------------------------------------------------
[~stevel@apache.org]
I've just three maven repos configured:
* mavenCentral()
* [https://repo1.maven.org/maven2]
* [https://repo.grails.org/grails/core]
Seems like, internally while building the jars, it is fetching _javax.ws.rs-api-2.1.1.pom_ from [HTTP|http://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom] instead of [HTTPS|[https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom]]
Just confirming, do you think gradle version could also be a suspect for this issue?
was (Author: JIRAUSER283874):
[~stevel@apache.org]
I've just three maven repos configured:
* mavenCentral()
* [https://repo1.maven.org/maven2]
* [https://repo.grails.org/grails/core]
Seems like, internally while building the jars, it is fetching _javax.ws.rs-api-2.1.1.pom_ from [HTTP|http://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom] instead of [HTTPS|[https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom].]
Just confirming, do you think gradle version could also be a suspect for this issue?
> Received status code 501 from server: HTTPS Required
> ----------------------------------------------------
>
> Key: MAPREDUCE-7397
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7397
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: build, client
> Affects Versions: 3.3.3
> Reporter: Jitin Dominic
> Priority: Major
>
> I've updated my _hadoop-client_ dependency to v3.3.3. While using {_}gradle{_}(v1.10) to build my jars, I keep getting following error:
> {code:java}
> org.apache.hadoop:hadoop-client:3.3.3 > org.apache.hadoop:hadoop-mapreduce-client-jobclient:3.3.3 > org.apache.hadoop:hadoop-mapreduce-client-common:3.3.3
> Could not HEAD 'http://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom'. Received status code 501 from server: HTTPS Required
> > Could not parse POM https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom
> > Illegal character in path at index 88: https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
> > Could not parse POM https://repo.grails.org/grails/core/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.pom
> > Illegal character in path at index 93: https://repo.grails.org/grails/core/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type} {code}
>
> Is there a work-around for this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org