[ 
https://issues.apache.org/jira/browse/TEZ-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sreenath Somarajapuram updated TEZ-3152:
----------------------------------------
    Attachment: TEZ-3152.2.patch

Attaching fresh patch with the following fixes:
1. when node_modules is old : Only one dependency had issue, The same was 
replaced with build script changes. 
2. async-disk-cache issue was fixed by forcing the build to use a local ./tmp 
directory
3. Node moules out of sync (Pointed by Siddh): Added -PcleanUICach profile. It 
would clean the cache folders, tmp, node, node_modules & bower_components. UI 
build would run just like a cold build.

[~hitesh] [~sseth] Please review.

> Tez UI 2: Build fails when run by multiple users or when node_modules is old
> ----------------------------------------------------------------------------
>
>                 Key: TEZ-3152
>                 URL: https://issues.apache.org/jira/browse/TEZ-3152
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Sreenath Somarajapuram
>            Assignee: Sreenath Somarajapuram
>         Attachments: TEZ-3152.1.patch, TEZ-3152.2.patch, 
> TEZ-3152.wip.1.patch, err2
>
>
> We have two separate cases in which the build fails:
> #1 The build uses Nodejs v0.12.2. When the webapp folder already have a 
> node_modules folder installed by an old version of node, build fails.
> - To repro, just manually run npm install in webapp with an old node (Like 
> v0.10.36). Then run mvn package from tez.
> #2 async-disk-cache package creates files in tmpDir (/tmp). When run from a 
> different user, because of user permission on there files, the build fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to