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

Sunil G commented on YARN-6362:
-------------------------------

Interesting piece, I was monitoring the current jenkins which got triggered 
with your patch.

{noformat}
============================================================================
============================================================================


cd /testptch/hadoop
mvn -Dmaven.repo.local=/home/jenkins/yetus-m2/hadoop-trunk-patch-1 -Ptest-patch 
-DskipTests -fae clean install -DskipTests=true -Dmaven.javadoc.skip=true 
-Dcheckstyle.skip=true -Dfindbugs.skip=true > 
/testptch/hadoop/patchprocess/branch-mvninstall-root.txt 2>&1
Elapsed:  12m 38s


============================================================================
============================================================================
                       trunk compilation: pre-patch
============================================================================
============================================================================


cd /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui
mvn -Dmaven.repo.local=/home/jenkins/yetus-m2/hadoop-trunk-patch-1 -Ptest-patch 
-DskipTests -Pnative -Drequire.libwebhdfs -Drequire.snappy -Drequire.openssl 
-Drequire.fuse -Drequire.test.libhadoop -Pyarn-ui clean test-compile 
-DskipTests=true > 
/testptch/hadoop/patchprocess/branch-compile-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-ui.txt
 2>&1
Elapsed:   3m 39s
{noformat}

As you can see, compilation is success in JENKINS machine *without the patch*.

However I agree it fails in my mac. In ubuntu its success. Looks like we have 
an issue in *node4.4.5* which is downloaded for Ubuntu vs Mac.
I am now locally trying to up the node version to avoid this.. One good news is 
that, hadoop build is NOT broken. But its broken in a machine where node is 
installed already. I ll update by diagnosis with new version of node/npm soon.

> Build failure of yarn-ui profile
> --------------------------------
>
>                 Key: YARN-6362
>                 URL: https://issues.apache.org/jira/browse/YARN-6362
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Kai Sasaki
>            Assignee: Kai Sasaki
>         Attachments: YARN-6362.01.patch
>
>
> Building yarn-ui module fails due to invalid npm-cli.js path.
> {code}
> $ mvn clean install -DskipTests -Dtar -Pdist  -Pyarn-ui
> {code}
> Failure of {{exec-maven-plugin}} in yarn-ui profile.
> {code}
> [INFO] --- exec-maven-plugin:1.3.1:exec (ember build) @ hadoop-yarn-ui ---
> module.js:327
>     throw err;
>     ^
> Error: Cannot find module 
> '/Users/sasakikai/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/src/main/webapp/node/npm/bin/npm-cli'
>     at Function.Module._resolveFilename (module.js:325:15)
>     at Function.Module._load (module.js:276:25)
>     at Function.Module.runMain (module.js:441:10)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to