[ 
https://issues.apache.org/jira/browse/HADOOP-17184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira Ajisaka updated HADOOP-17184:
-----------------------------------
    Fix Version/s: 3.1.5
                   3.4.0
                   3.3.1
                   2.10.1
                   3.2.2
                   2.9.3
     Hadoop Flags: Reviewed
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Committed to all the active branches. Thank you [~liuml07].

> Add --mvn-custom-repos parameter to yetus calls
> -----------------------------------------------
>
>                 Key: HADOOP-17184
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17184
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>            Priority: Major
>             Fix For: 2.9.3, 3.2.2, 2.10.1, 3.3.1, 3.4.0, 3.1.5
>
>
> In my request PR [#2188|https://github.com/apache/hadoop/pull/2188], I see 
> the QA build fails with unrelated errors.
> One example:
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-install-plugin:2.5.1:install (default-install) 
> on project hadoop-yarn-applications-mawo-core: Failed to install metadata 
> org.apache.hadoop.applications.mawo:hadoop-yarn-applications-mawo-core:3.4.0-SNAPSHOT/maven-metadata.xml:
>  Could not read metadata 
> /home/jenkins/.m2/repository/org/apache/hadoop/applications/mawo/hadoop-yarn-applications-mawo-core/3.4.0-SNAPSHOT/maven-metadata-local.xml:
>  input contained no data -> [Help 1]
> {code}
> Another example:
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-install-plugin:2.5.1:install (default-install) 
> on project hadoop-project: Failed to install metadata 
> org.apache.hadoop:hadoop-project:3.4.0-SNAPSHOT/maven-metadata.xml: Could not 
> parse metadata 
> /home/jenkins/.m2/repository/org/apache/hadoop/hadoop-project/3.4.0-SNAPSHOT/maven-metadata-local.xml:
>  in epilog non whitespace content is not allowed but got n (position: END_TAG 
> seen ...</metadata>\nn... @21:2) -> [Help 1]
> {code}
> As reported by HBASE-22474 and HBASE-22801, PreCommit validation from yetus 
> uses a shared .m2 repository. By adding {{\-\-mvn-custom-repos-}} paramter, 
> yetus will use a custom .m2 directory for executions for PR validations.
> This is a change to mimic that for Hadoop project.
> CC: [~aajisaka]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to