Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17184

Add --mvn-custom-repos parameter to yetus calls

    XMLWordPrintableJSON

    Details

      Description

      In my request PR #2188, I see the QA build fails with unrelated errors.

      One example:

      [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]
      

      Another example:

      [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]
      

      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: Akira Ajisaka

        Attachments

          Activity

            People

            • Assignee:
              liuml07 Mingliang Liu
              Reporter:
              liuml07 Mingliang Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: