[
https://issues.apache.org/jira/browse/ATLAS-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
MinSung updated ATLAS-3846:
---------------------------
Description:
I did build Atlas 2.0 in a Linux environment.
but UI fail to build.
Original source is :
http://apache.tt.co.kr/atlas/2.0.0/apache-atlas-2.0.0-sources.tar.gz
{code:java}
[INFO] Apache Atlas Repository 2.0.0 ...................... SUCCESS [ 16.154 s]
[INFO] Apache Atlas UI 2.0.0 .............................. FAILURE [ 10.067 s]
[INFO] Apache Atlas Web Application 2.0.0 ................. SKIPPED
[INFO] Apache Atlas Documentation 2.0.0 ................... SKIPPED
[INFO] Apache Atlas FileSystem Model 2.0.0 ................ SKIPPED
[INFO] Apache Atlas Plugin Classloader 2.0.0 .............. SKIPPED
[INFO] Apache Atlas Hive Bridge Shim 2.0.0 ................ SKIPPED
[INFO] Apache Atlas Hive Bridge 2.0.0 ..................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim 2.0.0 .............. SKIPPED
[INFO] Apache Atlas Falcon Bridge 2.0.0 ................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim 2.0.0 ............... SKIPPED
[INFO] Apache Atlas Sqoop Bridge 2.0.0 .................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim 2.0.0 ............... SKIPPED
[INFO] Apache Atlas Storm Bridge 2.0.0 .................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim 2.0.0 ............... SKIPPED
[INFO] Apache Atlas Hbase Bridge 2.0.0 .................... SKIPPED
[INFO] Apache HBase - Testing Util 2.0.0 .................. SKIPPED
[INFO] Apache Atlas Kafka Bridge 2.0.0 .................... SKIPPED
[INFO] Apache Atlas Distribution 2.0.0 .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:44 min
[INFO] Finished at: 2020-06-18T16:52:55+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.4:grunt (grunt dist) on project
atlas-dashboardv2: Failed to run task: 'grunt build-minify' failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit
value: 1) -> [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
{code}
detail is
{code}
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ atlas-dashboardv2 ---
[WARNING] npm WARN deprecated [email protected]: core-js@<3 is no longer
maintained and not recommended for usage due to the number of issues. Please,
upgrade your dependencies to the actual version of core-js@3.
[WARNING] npm WARN deprecated [email protected]: This version mistakenly dropped
node@4 compatibility in a semver-patch release. Please stay on 1.6.2 or update
to 2 or latest
[WARNING] npm WARN deprecated [email protected]: this version has a
breaking change. use 1.1.0 or upgrade to latest
[WARNING] npm WARN deprecated [email protected]: request has been deprecated, see
https://github.com/request/request/issues/3142
[WARNING] npm WARN deprecated [email protected]: If using 2.x branch, please upgrade
to at least 2.1.6 to avoid a serious bug with socket data flow and an import
issue introduced in 2.1.0
[INFO]
[INFO] > [email protected] postinstall
/home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/core-js
[INFO] > node -e "try{require('./postinstall')}catch(e){}"
[INFO]
[ERROR] npm notice created a lockfile as package-lock.json. You should commit
this file.
[INFO] added 620 packages in 8.979s
[INFO]
[INFO] --- frontend-maven-plugin:1.4:grunt (grunt dist) @ atlas-dashboardv2 ---
[INFO] Running 'grunt build-minify' in
/home/brightics/BDH/packages/atlas/dashboardv2/target
[ERROR] module.js:538
[ERROR] throw err;
[ERROR] ^
[ERROR]
[ERROR] Error: Cannot find module
'/home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/grunt-cli/bin/grunt'
[ERROR] at Function.Module._resolveFilename (module.js:536:15)
[ERROR] at Function.Module._load (module.js:466:25)
[ERROR] at Function.Module.runMain (module.js:676:10)
[ERROR] at startup (bootstrap_node.js:187:16)
[ERROR] at bootstrap_node.js:608:3
[INFO] ---------------------------------
{code}
and maven, npm, node are installed aleady.
that version info below.
{code:java}
[my@dp01:atlas] mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/maven
Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime:
/home/brightics/BDH/packages/java/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1062.12.1.el7.x86_64", arch: "amd64",
family: "unix"
[my@dp01:atlas] npm -v
6.14.4
[my@dp01:atlas] node -v
v6.17.1
{code}
was:
I did build Atlas 2.0 in a Linux environment.
but UI fail to build.
Original source is :
http://apache.tt.co.kr/atlas/2.0.0/apache-atlas-2.0.0-sources.tar.gz
{code:java}
[INFO] Apache Atlas Repository 2.0.0 ...................... SUCCESS [ 16.154 s]
[INFO] Apache Atlas UI 2.0.0 .............................. FAILURE [ 10.067 s]
[INFO] Apache Atlas Web Application 2.0.0 ................. SKIPPED
[INFO] Apache Atlas Documentation 2.0.0 ................... SKIPPED
[INFO] Apache Atlas FileSystem Model 2.0.0 ................ SKIPPED
[INFO] Apache Atlas Plugin Classloader 2.0.0 .............. SKIPPED
[INFO] Apache Atlas Hive Bridge Shim 2.0.0 ................ SKIPPED
[INFO] Apache Atlas Hive Bridge 2.0.0 ..................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim 2.0.0 .............. SKIPPED
[INFO] Apache Atlas Falcon Bridge 2.0.0 ................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim 2.0.0 ............... SKIPPED
[INFO] Apache Atlas Sqoop Bridge 2.0.0 .................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim 2.0.0 ............... SKIPPED
[INFO] Apache Atlas Storm Bridge 2.0.0 .................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim 2.0.0 ............... SKIPPED
[INFO] Apache Atlas Hbase Bridge 2.0.0 .................... SKIPPED
[INFO] Apache HBase - Testing Util 2.0.0 .................. SKIPPED
[INFO] Apache Atlas Kafka Bridge 2.0.0 .................... SKIPPED
[INFO] Apache Atlas Distribution 2.0.0 .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:44 min
[INFO] Finished at: 2020-06-18T16:52:55+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.4:grunt (grunt dist) on project
atlas-dashboardv2: Failed to run task: 'grunt build-minify' failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit
value: 1) -> [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
{code}
detail is
{code}
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ atlas-dashboardv2 ---
[INFO] Found proxies: [sds_http_proxy{protocol='http', host='70.10.15.10',
port=8080}, sds_https_proxy{protocol='https', host='70.10.15.10', port=8080},
sds_ftp_proxy{protocol='ftp', host='70.10.15.10', port=8080}]
[INFO] Running 'npm install --https-proxy=http://70.10.15.10:8080
--proxy=http://70.10.15.10:8080' in
/home/brightics/BDH/packages/atlas/dashboardv2/target
[WARNING] npm WARN deprecated [email protected]: core-js@<3 is no longer
maintained and not recommended for usage due to the number of issues. Please,
upgrade your dependencies to the actual version of core-js@3.
[WARNING] npm WARN deprecated [email protected]: This version mistakenly dropped
node@4 compatibility in a semver-patch release. Please stay on 1.6.2 or update
to 2 or latest
[WARNING] npm WARN deprecated [email protected]: this version has a
breaking change. use 1.1.0 or upgrade to latest
[WARNING] npm WARN deprecated [email protected]: request has been deprecated, see
https://github.com/request/request/issues/3142
[WARNING] npm WARN deprecated [email protected]: If using 2.x branch, please upgrade
to at least 2.1.6 to avoid a serious bug with socket data flow and an import
issue introduced in 2.1.0
[INFO]
[INFO] > [email protected] postinstall
/home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/core-js
[INFO] > node -e "try{require('./postinstall')}catch(e){}"
[INFO]
[ERROR] npm notice created a lockfile as package-lock.json. You should commit
this file.
[INFO] added 620 packages in 8.979s
[INFO]
[INFO] --- frontend-maven-plugin:1.4:grunt (grunt dist) @ atlas-dashboardv2 ---
[INFO] Running 'grunt build-minify' in
/home/brightics/BDH/packages/atlas/dashboardv2/target
[ERROR] module.js:538
[ERROR] throw err;
[ERROR] ^
[ERROR]
[ERROR] Error: Cannot find module
'/home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/grunt-cli/bin/grunt'
[ERROR] at Function.Module._resolveFilename (module.js:536:15)
[ERROR] at Function.Module._load (module.js:466:25)
[ERROR] at Function.Module.runMain (module.js:676:10)
[ERROR] at startup (bootstrap_node.js:187:16)
[ERROR] at bootstrap_node.js:608:3
[INFO] ---------------------------------
{code}
and maven, npm, node are installed aleady.
that version info below.
{code:java}
[my@dp01:atlas] mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/maven
Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime:
/home/brightics/BDH/packages/java/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1062.12.1.el7.x86_64", arch: "amd64",
family: "unix"
[my@dp01:atlas] npm -v
6.14.4
[my@dp01:atlas] node -v
v6.17.1
{code}
> Aatlas-dashboardv2: Failed to run task: 'grunt build-minify' failed.
> --------------------------------------------------------------------
>
> Key: ATLAS-3846
> URL: https://issues.apache.org/jira/browse/ATLAS-3846
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 2.0.0
> Environment: Linux Centos 7
> Reporter: MinSung
> Priority: Major
>
> I did build Atlas 2.0 in a Linux environment.
> but UI fail to build.
>
> Original source is :
> http://apache.tt.co.kr/atlas/2.0.0/apache-atlas-2.0.0-sources.tar.gz
>
> {code:java}
> [INFO] Apache Atlas Repository 2.0.0 ...................... SUCCESS [ 16.154
> s]
> [INFO] Apache Atlas UI 2.0.0 .............................. FAILURE [ 10.067
> s]
> [INFO] Apache Atlas Web Application 2.0.0 ................. SKIPPED
> [INFO] Apache Atlas Documentation 2.0.0 ................... SKIPPED
> [INFO] Apache Atlas FileSystem Model 2.0.0 ................ SKIPPED
> [INFO] Apache Atlas Plugin Classloader 2.0.0 .............. SKIPPED
> [INFO] Apache Atlas Hive Bridge Shim 2.0.0 ................ SKIPPED
> [INFO] Apache Atlas Hive Bridge 2.0.0 ..................... SKIPPED
> [INFO] Apache Atlas Falcon Bridge Shim 2.0.0 .............. SKIPPED
> [INFO] Apache Atlas Falcon Bridge 2.0.0 ................... SKIPPED
> [INFO] Apache Atlas Sqoop Bridge Shim 2.0.0 ............... SKIPPED
> [INFO] Apache Atlas Sqoop Bridge 2.0.0 .................... SKIPPED
> [INFO] Apache Atlas Storm Bridge Shim 2.0.0 ............... SKIPPED
> [INFO] Apache Atlas Storm Bridge 2.0.0 .................... SKIPPED
> [INFO] Apache Atlas Hbase Bridge Shim 2.0.0 ............... SKIPPED
> [INFO] Apache Atlas Hbase Bridge 2.0.0 .................... SKIPPED
> [INFO] Apache HBase - Testing Util 2.0.0 .................. SKIPPED
> [INFO] Apache Atlas Kafka Bridge 2.0.0 .................... SKIPPED
> [INFO] Apache Atlas Distribution 2.0.0 .................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:44 min
> [INFO] Finished at: 2020-06-18T16:52:55+09:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.4:grunt (grunt dist) on project
> atlas-dashboardv2: Failed to run task: 'grunt build-minify' failed.
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1
> (Exit value: 1) -> [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
> {code}
>
> detail is
> {code}
> [INFO]
> [INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ atlas-dashboardv2 ---
> [WARNING] npm WARN deprecated [email protected]: core-js@<3 is no longer
> maintained and not recommended for usage due to the number of issues. Please,
> upgrade your dependencies to the actual version of core-js@3.
> [WARNING] npm WARN deprecated [email protected]: This version mistakenly dropped
> node@4 compatibility in a semver-patch release. Please stay on 1.6.2 or
> update to 2 or latest
> [WARNING] npm WARN deprecated [email protected]: this version has a
> breaking change. use 1.1.0 or upgrade to latest
> [WARNING] npm WARN deprecated [email protected]: request has been deprecated,
> see https://github.com/request/request/issues/3142
> [WARNING] npm WARN deprecated [email protected]: If using 2.x branch, please
> upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an
> import issue introduced in 2.1.0
> [INFO]
> [INFO] > [email protected] postinstall
> /home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/core-js
> [INFO] > node -e "try{require('./postinstall')}catch(e){}"
> [INFO]
> [ERROR] npm notice created a lockfile as package-lock.json. You should commit
> this file.
> [INFO] added 620 packages in 8.979s
> [INFO]
> [INFO] --- frontend-maven-plugin:1.4:grunt (grunt dist) @ atlas-dashboardv2
> ---
> [INFO] Running 'grunt build-minify' in
> /home/brightics/BDH/packages/atlas/dashboardv2/target
> [ERROR] module.js:538
> [ERROR] throw err;
> [ERROR] ^
> [ERROR]
> [ERROR] Error: Cannot find module
> '/home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/grunt-cli/bin/grunt'
> [ERROR] at Function.Module._resolveFilename (module.js:536:15)
> [ERROR] at Function.Module._load (module.js:466:25)
> [ERROR] at Function.Module.runMain (module.js:676:10)
> [ERROR] at startup (bootstrap_node.js:187:16)
> [ERROR] at bootstrap_node.js:608:3
> [INFO] ---------------------------------
> {code}
> and maven, npm, node are installed aleady.
> that version info below.
> {code:java}
> [my@dp01:atlas] mvn -version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /usr/local/maven
> Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime:
> /home/brightics/BDH/packages/java/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-1062.12.1.el7.x86_64", arch: "amd64",
> family: "unix"
> [my@dp01:atlas] npm -v
> 6.14.4
> [my@dp01:atlas] node -v
> v6.17.1
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)