Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3956

hadoop-deb FAILED on project hadoop-yarn-applications-catalog-webapp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.2.1, 3.3.0
    • hadoop
    • None

    Description

      I am trying build branch-3.2 on Ubuntu 22.04, and got the following error:

      ...
      [INFO] Installing node version v12.22.1
      ...
      [INFO] Installing Yarn version v1.22.5
      ...
      [INFO] yarn install v1.22.5
      ...
      [INFO] [2/4] Fetching packages...
      [INFO] error triple-beam@1.4.0: The engine "node" is incompatible with this module. Expected version ">= 16.0.0". Got "12.22.1"
      [INFO] error Found incompatible module.
      [INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Apache Hadoop Main 3.3.5:
      [INFO] 
      [INFO] Apache Hadoop Main ................................. SUCCESS [ 54.170 s]
      [INFO] Apache Hadoop Build Tools .......................... SUCCESS [ 12.477 s]
      [INFO] Apache Hadoop Project POM .......................... SUCCESS [  5.042 s]
      ...
      [INFO] Apache Hadoop YARN Application Catalog Webapp ...... FAILURE [05:31 min]
      ...
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.2:yarn (yarn install) on project hadoop-yarn-applications-catalog-webapp: Failed to run task: 'yarn ' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      ...
      > Task :hadoop-deb FAILED
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Script '/home/test/bigtop/packages.gradle' line: 357
      ...
      

      From https://github.com/winstonjs/triple-beam, I noticed that v1.4.0 was released on Jul 10, 2023. And the dependency on 'node' was added in this release (refer to the ./package.json file). I did a little more debug, but failed to find a solution to fix the build error.

      Could you help?

      Attachments

        Issue Links

          Activity

            People

              yqGu Yuqi Gu
              acan Ming Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m