You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tez.apache.org by "darion.yaphet" <fl...@163.com> on 2016/08/25 04:13:59 UTC
Tez 0.8.4 building failed
Hi team :
I building tez 0.8.4 failed when building tez-ui2 module . I'm not sure is it a bug .
Here is the log message :)
[INFO] --- exec-maven-plugin:1.3.2:exec (ember build) @ tez-ui2 ---
> tez-ui@0.2.0 build:mvn /home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp
> TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
module.js:338
throw err;
^
Error: Cannot find module 'resolve'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_modules/ember-cli/bin/ember:7:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
▽
at Function.Module.runMain (module.js:501:10)
npm ERR! Linux 3.10.0-229.1.2.el7.x86_64
npm ERR! argv "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/node" "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/npm/bin/npm-cli" "run" "build:mvn"
npm ERR! node v0.12.2
npm ERR! npm v2.15.3
npm ERR! code ELIFECYCLE
npm ERR! tez-ui@0.2.0 build:mvn: `TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tez-ui@0.2.0 build:mvn script 'TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod'.
npm ERR! This is most likely a problem with the tez-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tez-ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls tez-ui
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
Re:Re: Re: Tez 0.8.4 building failed
Posted by "darion.yaphet" <fl...@163.com>.
I'm using apache maven 3.3.9 to build it . It's seems failed when building javascript source code ?
在 2016-08-26 04:43:33,"Jonathan Eagles" <je...@gmail.com> 写道:
Can you post which version of maven you are using to build? I know there has some past incompatibilities introduced in the maven-frontend-plugin with certain versions of maven.
Ref: https://issues.apache.org/jira/browse/TEZ-2560
Jon
On Thu, Aug 25, 2016 at 5:13 AM, darion.yaphet <fl...@163.com> wrote:
Hello Jonathan
Thank you for you answer . But I download the source release from tez.apache.org . It's not a git repo .
At 2016-08-25 14:02:46, "Jonathan Eagles" <je...@gmail.com> wrote:
Thanks for report this. I have sometimes seen this issue when switching git branches. I don't know if there is a JIRA tracking this issue or not but I have found that it can resolved this by removing the npm related build artifacts and then rebuilding.
For example from the root directory of the tez git repo you can see the ignored directories that have been created as part of the build.
// -n is dry run
git clean -d -x -n tez-ui
These directories can be safely deleted and the build should be retried after this. Let me know if this fixes it for you.
// really deletes all untracked files. please be really careful so as to not lose your changes. you have been warned.
git clean -d -x -f tez-ui
jeagles
On Wed, Aug 24, 2016 at 11:13 PM, darion.yaphet <fl...@163.com> wrote:
Hi team :
I building tez 0.8.4 failed when building tez-ui2 module . I'm not sure is it a bug .
Here is the log message :)
[INFO] --- exec-maven-plugin:1.3.2:exec (ember build) @ tez-ui2 ---
> tez-ui@0.2.0 build:mvn /home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp
> TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
module.js:338
throw err;
^
Error: Cannot find module 'resolve'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_modules/ember-cli/bin/ember:7:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
▽
at Function.Module.runMain (module.js:501:10)
npm ERR! Linux 3.10.0-229.1.2.el7.x86_64
npm ERR! argv "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/node" "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/npm/bin/npm-cli" "run" "build:mvn"
npm ERR! node v0.12.2
npm ERR! npm v2.15.3
npm ERR! code ELIFECYCLE
npm ERR! tez-ui@0.2.0 build:mvn: `TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tez-ui@0.2.0 build:mvn script 'TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod'.
npm ERR! This is most likely a problem with the tez-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tez-ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls tez-ui
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
Re: Re: Tez 0.8.4 building failed
Posted by Jonathan Eagles <je...@gmail.com>.
Can you post which version of maven you are using to build? I know there
has some past incompatibilities introduced in the maven-frontend-plugin
with certain versions of maven.
Ref: https://issues.apache.org/jira/browse/TEZ-2560
Jon
On Thu, Aug 25, 2016 at 5:13 AM, darion.yaphet <fl...@163.com> wrote:
> Hello Jonathan
>
> Thank you for you answer . But I download the source release from
> tez.apache.org . It's not a git repo .
>
>
> At 2016-08-25 14:02:46, "Jonathan Eagles" <je...@gmail.com> wrote:
>
> Thanks for report this. I have sometimes seen this issue when switching
> git branches. I don't know if there is a JIRA tracking this issue or not
> but I have found that it can resolved this by removing the npm related
> build artifacts and then rebuilding.
>
> For example from the root directory of the tez git repo you can see the
> ignored directories that have been created as part of the build.
> // -n is dry run
> git clean -d -x -n tez-ui
>
> These directories can be safely deleted and the build should be retried
> after this. Let me know if this fixes it for you.
> // really deletes all untracked files. please be really careful so as to
> not lose your changes. you have been warned.
> git clean -d -x -f tez-ui
>
> jeagles
>
> On Wed, Aug 24, 2016 at 11:13 PM, darion.yaphet <fl...@163.com> wrote:
>
>> Hi team :
>>
>> I building tez 0.8.4 failed when building tez-ui2 module . I'm not sure
>> is it a bug .
>>
>> Here is the log message :)
>>
>> [INFO] --- exec-maven-plugin:1.3.2:exec (ember build) @ tez-ui2 ---
>>
>> > tez-ui@0.2.0 build:mvn /home/maintain/darion/source/t
>> ez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp
>> > TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
>>
>> module.js:338
>> throw err;
>> ^
>> Error: Cannot find module 'resolve'
>> at Function.Module._resolveFilename (module.js:336:15)
>> at Function.Module._load (module.js:278:25)
>> at Module.require (module.js:365:17)
>> at require (module.js:384:17)
>> at Object.<anonymous> (/home/maintain/darion/source/
>> tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_module
>> s/ember-cli/bin/ember:7:15)
>> at Module._compile (module.js:460:26)
>> at Object.Module._extensions..js (module.js:478:10)
>> at Module.load (module.js:355:32)
>> at Function.Module._load (module.js:310:12)
>>
>> ▽
>> at Function.Module.runMain (module.js:501:10)
>>
>> npm ERR! Linux 3.10.0-229.1.2.el7.x86_64
>> npm ERR! argv "/home/maintain/darion/source/
>> tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/node"
>> "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-u
>> i2/src/main/webapp/node/npm/bin/npm-cli" "run" "build:mvn"
>> npm ERR! node v0.12.2
>> npm ERR! npm v2.15.3
>> npm ERR! code ELIFECYCLE
>> npm ERR! tez-ui@0.2.0 build:mvn: `TMPDIR=tmp node/node
>> ./node_modules/ember-cli/bin/ember build -prod`
>> npm ERR! Exit status 1
>> npm ERR!
>> npm ERR! Failed at the tez-ui@0.2.0 build:mvn script 'TMPDIR=tmp
>> node/node ./node_modules/ember-cli/bin/ember build -prod'.
>> npm ERR! This is most likely a problem with the tez-ui package,
>> npm ERR! not with npm itself.
>> npm ERR! Tell the author that this fails on your system:
>> npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember
>> build -prod
>> npm ERR! You can get information on how to open an issue for this project
>> with:
>> npm ERR! npm bugs tez-ui
>> npm ERR! Or if that isn't available, you can get their info via:
>> npm ERR!
>> npm ERR! npm owner ls tez-ui
>> npm ERR! There is likely additional logging output above.
>>
>> npm ERR! Please include the following file with any support request:
>>
>>
>>
>>
>>
>
>
>
>
>
Re:Re: Tez 0.8.4 building failed
Posted by "darion.yaphet" <fl...@163.com>.
Hello Jonathan
Thank you for you answer . But I download the source release from tez.apache.org . It's not a git repo .
At 2016-08-25 14:02:46, "Jonathan Eagles" <je...@gmail.com> wrote:
Thanks for report this. I have sometimes seen this issue when switching git branches. I don't know if there is a JIRA tracking this issue or not but I have found that it can resolved this by removing the npm related build artifacts and then rebuilding.
For example from the root directory of the tez git repo you can see the ignored directories that have been created as part of the build.
// -n is dry run
git clean -d -x -n tez-ui
These directories can be safely deleted and the build should be retried after this. Let me know if this fixes it for you.
// really deletes all untracked files. please be really careful so as to not lose your changes. you have been warned.
git clean -d -x -f tez-ui
jeagles
On Wed, Aug 24, 2016 at 11:13 PM, darion.yaphet <fl...@163.com> wrote:
Hi team :
I building tez 0.8.4 failed when building tez-ui2 module . I'm not sure is it a bug .
Here is the log message :)
[INFO] --- exec-maven-plugin:1.3.2:exec (ember build) @ tez-ui2 ---
> tez-ui@0.2.0 build:mvn /home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp
> TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
module.js:338
throw err;
^
Error: Cannot find module 'resolve'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_modules/ember-cli/bin/ember:7:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
▽
at Function.Module.runMain (module.js:501:10)
npm ERR! Linux 3.10.0-229.1.2.el7.x86_64
npm ERR! argv "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/node" "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/npm/bin/npm-cli" "run" "build:mvn"
npm ERR! node v0.12.2
npm ERR! npm v2.15.3
npm ERR! code ELIFECYCLE
npm ERR! tez-ui@0.2.0 build:mvn: `TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tez-ui@0.2.0 build:mvn script 'TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod'.
npm ERR! This is most likely a problem with the tez-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tez-ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls tez-ui
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
Re: Tez 0.8.4 building failed
Posted by Jonathan Eagles <je...@gmail.com>.
Thanks for report this. I have sometimes seen this issue when switching git
branches. I don't know if there is a JIRA tracking this issue or not but I
have found that it can resolved this by removing the npm related build
artifacts and then rebuilding.
For example from the root directory of the tez git repo you can see the
ignored directories that have been created as part of the build.
// -n is dry run
git clean -d -x -n tez-ui
These directories can be safely deleted and the build should be retried
after this. Let me know if this fixes it for you.
// really deletes all untracked files. please be really careful so as to
not lose your changes. you have been warned.
git clean -d -x -f tez-ui
jeagles
On Wed, Aug 24, 2016 at 11:13 PM, darion.yaphet <fl...@163.com> wrote:
> Hi team :
>
> I building tez 0.8.4 failed when building tez-ui2 module . I'm not sure is
> it a bug .
>
> Here is the log message :)
>
> [INFO] --- exec-maven-plugin:1.3.2:exec (ember build) @ tez-ui2 ---
>
> > tez-ui@0.2.0 build:mvn /home/maintain/darion/source/
> tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp
> > TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
>
> module.js:338
> throw err;
> ^
> Error: Cannot find module 'resolve'
> at Function.Module._resolveFilename (module.js:336:15)
> at Function.Module._load (module.js:278:25)
> at Module.require (module.js:365:17)
> at require (module.js:384:17)
> at Object.<anonymous> (/home/maintain/darion/source/
> tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node_
> modules/ember-cli/bin/ember:7:15)
> at Module._compile (module.js:460:26)
> at Object.Module._extensions..js (module.js:478:10)
> at Module.load (module.js:355:32)
> at Function.Module._load (module.js:310:12)
>
> ▽
> at Function.Module.runMain (module.js:501:10)
>
> npm ERR! Linux 3.10.0-229.1.2.el7.x86_64
> npm ERR! argv "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-ui2/src/main/webapp/node/node"
> "/home/maintain/darion/source/tez/apache-tez-0.8.4-src/tez-
> ui2/src/main/webapp/node/npm/bin/npm-cli" "run" "build:mvn"
> npm ERR! node v0.12.2
> npm ERR! npm v2.15.3
> npm ERR! code ELIFECYCLE
> npm ERR! tez-ui@0.2.0 build:mvn: `TMPDIR=tmp node/node
> ./node_modules/ember-cli/bin/ember build -prod`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the tez-ui@0.2.0 build:mvn script 'TMPDIR=tmp
> node/node ./node_modules/ember-cli/bin/ember build -prod'.
> npm ERR! This is most likely a problem with the tez-ui package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember
> build -prod
> npm ERR! You can get information on how to open an issue for this project
> with:
> npm ERR! npm bugs tez-ui
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR!
> npm ERR! npm owner ls tez-ui
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
>
>
>
>
>