You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/20 12:42:00 UTC

[jira] [Work logged] (HADOOP-17650) Fails to build using Maven 3.8.1

     [ https://issues.apache.org/jira/browse/HADOOP-17650?focusedWorklogId=759183&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-759183 ]

ASF GitHub Bot logged work on HADOOP-17650:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Apr/22 12:41
            Start Date: 20/Apr/22 12:41
    Worklog Time Spent: 10m 
      Work Description: steveloughran opened a new pull request, #4206:
URL: https://github.com/apache/hadoop/pull/4206

   
   Reviewed-by: Siyao Meng <si...@apache.org>
   
   
   ### Description of PR
   
   patch 538ce9c / #2939 on branch-3.3; if good will add to 3.3.3
   
   without this you can only build hadoop with a proxy nexus server
   
   ### How was this patch tested?
   
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
   
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 759183)
    Time Spent: 2h 50m  (was: 2h 40m)

> Fails to build using Maven 3.8.1
> --------------------------------
>
>                 Key: HADOOP-17650
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17650
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> The latest Maven (3.8.1) errors out when building Hadoop (tried trunk)
> {noformat}
> [ERROR] Failed to execute goal on project hadoop-yarn-applications-catalog-webapp: Could not resolve dependencies for project org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:war:3.4.0-SNAPSHOT: Failed to collect dependencies at org.apache.solr:solr-core:jar:7.7.0 -> org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.3.0: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [maven-restlet (http://maven.restlet.org, default, releases+snapshots), apache.snapshots (http://repository.apache.org/snapshots, default, disabled)] -> [Help 1]
> {noformat}
> According to [https://maven.apache.org/docs/3.8.1/release-notes.html#how-to-fix-when-i-get-a-http-repository-blocked] we need to update our Maven repo.
>  
> Maven 3.6.3 is good.
>  
> (For what is worth, I used my company's mirror to bypass this error. Not sure what is a good fix for Hadoop itself)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org