Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11458

Maven parallel build fails when Yarn UI v2 is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 3.4.0, 3.3.5, 3.3.4, 3.3.9
    • None
    • yarn, yarn-ui-v2
    • None
    • The problem occurs sporadically while using the Hadoop development environment (Ubuntu)

    Description

      Running a parallel build fails during assembly with the following error when running either package or install:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (package-yarn) on project hadoop-yarn-project: Failed to create assembly: Error creating assembly archive hadoop-yarn-dist: /workspace/hadoop-yarn-project/./hadoop-yarn/hadoop-yarn-ui/target/webapp/tmp/sass_compiler-input_base_path-iNYf9pEm.tmp/vendor/ember-qunit/ember-qunit.map -> [Help 1]

      This appears to be a race condition introduce when `-Pyarn-ui` is used because the `hadoop-yarn-project` does not have a dependency listed for `yarn-ui`.

      The command executed was:

      $ mvn -nsu clean install -Pdist,native -DskipTests -Dtar -Dmaven.javadoc.skip=true -T 2C 

      Attachments

        Issue Links

          Activity

            People

              svaughan Steve Vaughan
              svaughan Steve Vaughan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: