Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4792

build failure in Apple M1 env

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • atlas-core
    • None

    Description

      Building Atlas master branch fails in MacBook Pro with Apple M1 chip, with the following:

      [INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (install node and npm) @ atlas-dashboardv2 ---
      [INFO] Installing node version v12.16.0
      [INFO] Downloading https://nodejs.org/dist/v12.16.0/node-v12.16.0-darwin-arm64.tar.gz to ~/.m2/repository/com/github/eirslett/node/12.16.0/node-12.16.0-darwin-arm64.tar.gz
      [INFO] No proxies configured
      [INFO] No proxy was configured, downloading directly
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for apache-atlas 3.0.0-SNAPSHOT:
      [INFO]
      [INFO] Apache Atlas Server Build Tools .................... SUCCESS [  1.056 s]
      [INFO] apache-atlas ....................................... SUCCESS [  7.362 s]
      [INFO] Apache Atlas Integration ........................... SUCCESS [ 22.299 s]
      [INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  8.182 s]
      [INFO] Apache Atlas Common ................................ SUCCESS [  9.194 s]
      [INFO] Apache Atlas Client ................................ SUCCESS [  0.410 s]
      [INFO] atlas-client-common ................................ SUCCESS [  3.962 s]
      [INFO] atlas-client-v1 .................................... SUCCESS [  4.495 s]
      [INFO] Apache Atlas Server API ............................ SUCCESS [  6.009 s]
      [INFO] atlas-client-v2 .................................... SUCCESS [  3.849 s]
      [INFO] Apache Atlas Notification .......................... SUCCESS [ 11.231 s]
      [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.355 s]
      [INFO] Apache Atlas Graph Database API .................... SUCCESS [  3.687 s]
      [INFO] Graph Database Common Code ......................... SUCCESS [  3.410 s]
      [INFO] Apache Atlas JanusGraph-HBase2 Module .............. SUCCESS [  4.272 s]
      [INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [ 17.223 s]
      [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.734 s]
      [INFO] Apache Atlas Authorization ......................... SUCCESS [  7.162 s]
      [INFO] Apache Atlas Repository ............................ SUCCESS [ 38.694 s]
      [INFO] Apache Atlas UI .................................... FAILURE [ 35.820 s]
      [INFO] Apache Atlas New UI ................................ SKIPPED
      [INFO] Apache Atlas Web Application ....................... SKIPPED
      [INFO] Apache Atlas Documentation ......................... SKIPPED
      [INFO] Apache Atlas FileSystem Model ...................... SKIPPED
      [INFO] Apache Atlas Plugin Classloader .................... SKIPPED
      [INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
      [INFO] Apache Atlas Hive Bridge ........................... SKIPPED
      [INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
      [INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
      [INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
      [INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
      [INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
      [INFO] Apache Atlas Storm Bridge .......................... SKIPPED
      [INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
      [INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
      [INFO] Apache HBase - Testing Util ........................ SKIPPED
      [INFO] Apache Atlas Kafka Bridge .......................... SKIPPED
      [INFO] Apache Atlas classification updater ................ SKIPPED
      [INFO] Apache Atlas index repair tool ..................... SKIPPED
      [INFO] Apache Atlas Impala Hook API ....................... SKIPPED
      [INFO] Apache Atlas Impala Bridge Shim .................... SKIPPED
      [INFO] Apache Atlas Impala Bridge ......................... SKIPPED
      [INFO] Apache Atlas Distribution .......................... SKIPPED
      [INFO] atlas-examples ..................................... SKIPPED
      [INFO] sample-app ......................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  03:12 min
      [INFO] Finished at: 2023-09-07T20:39:20-07:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-npm (install node and npm) on project atlas-dashboardv2: Could not download Node.js: Got error code 404 from the server. -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :atlas-dashboardv2
      

      Attachments

        1. ATLAS-4792.patch
          0.7 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: