[ 
https://issues.apache.org/jira/browse/TEZ-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053659#comment-18053659
 ] 

Raghav Aggarwal commented on TEZ-4679:
--------------------------------------

The reason why this tez-ui build is failing because the official support for 
Apple Silicon was a major feature announced in Node.js version 16 and we are 
using version 8.9.0
Ref: 
[https://nodejs.org/en/blog/release/v16.0.0/#toolchain-and-compiler-upgrades]

Upgrading to 16 version is causing failure in .js files, ember lib etc. We need 
a UI/frontend expert if we need to upgrade node.js

There are 2 ways:
 # we can pass -Dos.arch=x86_64 in mvn command and its working fine, then it 
will download x86 tarball (need to see how to pass this flag from pom for this 
sub-module)
 # We upgrade frontend-maven-plugin at 1.15.0, 1.11.0+ added a auto detects 
arch and download the correct tarball.

I like option 2 better

> Tez UI doesn't build on arm64 - Could not download Node.js
> ----------------------------------------------------------
>
>                 Key: TEZ-4679
>                 URL: https://issues.apache.org/jira/browse/TEZ-4679
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: László Bodor
>            Assignee: Raghav Aggarwal
>            Priority: Major
>         Attachments: Fixable_First_js_erro.png, error.txt
>
>
> {code}
> [INFO] --- frontend-maven-plugin:1.8.0:install-node-and-yarn (install node 
> and yarn) @ tez-ui ---
> [INFO] Installing node version v8.9.0
> [INFO] Downloading 
> https://nodejs.org/dist/v8.9.0/node-v8.9.0-darwin-arm64.tar.gz to 
> /Users/lbodor/.m2/repository/com/github/eirslett/node/8.9.0/node-8.9.0-darwin-arm64.tar.gz
> [INFO] No proxies configured
> [INFO] No proxy was configured, downloading directly
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  2.037 s
> [INFO] Finished at: 2026-01-22T12:52:47+01:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> com.github.eirslett:frontend-maven-plugin:1.8.0:install-node-and-yarn 
> (install node and yarn) on project tez-ui: Could not download Node.js: Got 
> error code 404 from the server. -> [Help 1]
> {code}
> maybe it's time to bump nodeVersion



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to