You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Sreenath Somarajapuram (JIRA)" <ji...@apache.org> on 2016/04/12 13:31:25 UTC

[jira] [Comment Edited] (TEZ-3211) tez-ui2 : build issue

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

Sreenath Somarajapuram edited comment on TEZ-3211 at 4/12/16 11:31 AM:
-----------------------------------------------------------------------

[~rajesh.balamohan]
Looks like your version of the code have hidden files that's not part of the original code base.
I just check in cn041.
And as you can infer from the following, there is a `._` prefixed version of each file.
{code}
[sree@cn041-10 templates]$ pwd
/tmp/tez/tez-ui2/src/main/webapp/app/templates
[sree@cn041-10 templates]$ ls -a
.   app    ._app.hbs  ._application.hbs  attempt    ._attempt.hbs  components    dag    ._dag.hbs  ._dags.hbs  ._loading.hbs  ._simple-modal.hbs  task    ._task.hbs  vertex    ._vertex.hbs
..  ._app  app.hbs    application.hbs    ._attempt  attempt.hbs    ._components  ._dag  dag.hbs    dags.hbs    loading.hbs    simple-modal.hbs    ._task  task.hbs    ._vertex  vertex.hbs
{code}
As you can infer from the attache error message, its there files thats causing the issue. `File: tez-ui/templates/._app.hbs`


was (Author: sreenath):
[~rajesh.balamohan]
Looks like your version of the code have hidden files that's not part of the original code base.
I just check in cn041. Ans as you can infer from the following, there is a `._` prefixed version of each file.
{code}
[sree@cn041-10 templates]$ pwd
/tmp/tez/tez-ui2/src/main/webapp/app/templates
[sree@cn041-10 templates]$ ls -a
.   app    ._app.hbs  ._application.hbs  attempt    ._attempt.hbs  components    dag    ._dag.hbs  ._dags.hbs  ._loading.hbs  ._simple-modal.hbs  task    ._task.hbs  vertex    ._vertex.hbs
..  ._app  app.hbs    application.hbs    ._attempt  attempt.hbs    ._components  ._dag  dag.hbs    dags.hbs    loading.hbs    simple-modal.hbs    ._task  task.hbs    ._vertex  vertex.hbs
{code}
As you can infer from the attache error message, its there files thats causing the issue. `File: tez-ui/templates/._app.hbs`

> tez-ui2 : build issue
> ---------------------
>
>                 Key: TEZ-3211
>                 URL: https://issues.apache.org/jira/browse/TEZ-3211
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Rajesh Balamohan
>            Assignee: Sreenath Somarajapuram
>            Priority: Minor
>         Attachments: debug.log
>
>
> Getting the following error when trying to build on linux
> {noformat}
> > tez-ui@0.2.0 build:mvn /tmp/tez/tez-ui2/src/main/webapp
> > TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod
> version: 1.13.13
> Could not find watchman, falling back to NodeWatcher for file system events.
> Visit http://www.ember-cli.com/user-guide/#watchman for more info.
> BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...Build failed.
> File: tez-ui/templates/._app.hbs
> Lexical error on line 1. Unrecognized text.
> Mac OS X
> ^
> Error: Lexical error on line 1. Unrecognized text.
> Mac OS X
> ^
>     at Object.parseError (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:16810:23)
>     at Object.parseError (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:16937:40)
>     at Object.lexer.next (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:17065:37)
>     at Object.lex (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:17069:34)
>     at lex (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:16840:40)
>     at Object.parse (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:16863:38)
>     at Object.parse (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:16464:73)
>     at Object.preprocess (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:18201:87)
>     at compileSpec (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:12697:37)
>     at Object.exports.default [as precompile] (/tmp/tez/tez-ui2/src/main/webapp/bower_components/ember/ember-template-compiler.js:12613:12)
> npm ERR! Linux 3.10.0-229.7.2.el7.x86_64
> npm ERR! argv "/tmp/tez/tez-ui2/src/main/webapp/node/node" "/tmp/tez/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:
> npm ERR!     /tmp/tez/tez-ui2/src/main/webapp/npm-debug.log
> {noformat}
> \cc [~Sreenath]



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