[jira] [Updated] (AMBARI-25499) Unable to build ambari 2.7.5

2020-05-22 Thread Dmytro Grinenko (Jira)


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

Dmytro Grinenko updated AMBARI-25499:
-
Due Date: 25/May/20

> Unable to build ambari 2.7.5
> 
>
> Key: AMBARI-25499
> URL: https://issues.apache.org/jira/browse/AMBARI-25499
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-admin
>Affects Versions: 2.7.1, 2.7.3, 2.7.4, 2.7.5
>Reporter: Luigi Caramico
>Assignee: Dmytro Grinenko
>Priority: Major
> Fix For: 2.7.6
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> following the instruction on 
> [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.7.5]
>  
> I started to build Ambari but I get the error:
>   
> {code}
> [INFO] — exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin —
>  bower error Unexpected token {
> {code}
>   
> {code}
> [INFO] bower@1.3.8 node_modules/bower
>  [INFO] ├── is-root@0.1.0
>  [INFO] ├── stringify-object@0.2.1
>  [INFO] ├── junk@0.3.0
>  [INFO] ├── abbrev@1.0.9
>  [INFO] ├── which@1.0.9
>  [INFO] ├── opn@0.1.2
>  [INFO] ├── bower-endpoint-parser@0.2.2
>  [INFO] ├── chmodr@0.1.2
>  [INFO] ├── bower-logger@0.2.2
>  [INFO] ├── archy@0.0.2
>  [INFO] ├── q@1.0.1
>  [INFO] ├── lockfile@0.4.3
>  [INFO] ├── nopt@3.0.6
>  [INFO] ├── rimraf@2.2.8
>  [INFO] ├── lru-cache@2.5.2
>  [INFO] ├── retry@0.6.1
>  [INFO] ├── tmp@0.0.23
>  [INFO] ├── osenv@0.1.5 (os-tmpdir@1.0.2, os-homedir@1.0.2)
>  [INFO] ├── chalk@0.4.0 (ansi-styles@1.0.0, has-color@0.1.7, strip-ansi@0.1.1)
>  [INFO] ├── semver@2.3.2
>  [INFO] ├── request-progress@0.3.1 (throttleit@0.0.2)
>  [INFO] ├── p-throttler@0.0.1 (q@0.9.7)
>  [INFO] ├── graceful-fs@3.0.12 (natives@1.1.6)
>  [INFO] ├── shell-quote@1.4.3 (array-filter@0.0.1, jsonify@0.0.0, 
> array-reduce@0.0.0, array-map@0.0.0)
>  [INFO] ├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, 
> graceful-fs@2.0.3)
>  [INFO] ├── mkdirp@0.5.5 (minimist@1.2.5)
>  [INFO] ├── promptly@0.2.1 (read@1.0.7)
>  [INFO] ├── fstream@0.1.31 (inherits@2.0.4)
>  [INFO] ├── tar@0.1.20 (inherits@2.0.4, block-stream@0.0.9)
>  [INFO] ├── fstream-ignore@0.0.10 (inherits@2.0.4, minimatch@0.3.0)
>  [INFO] ├── glob@4.0.6 (inherits@2.0.4, once@1.4.0, minimatch@1.0.0)
>  [INFO] ├── request@2.36.0 (tunnel-agent@0.4.3, aws-sign2@0.5.0, 
> forever-agent@0.5.2, qs@0.6.6, oauth-sign@0.3.0, mime@1.2.11, 
> json-stringify-safe@5.0.1, node-uuid@1.4.8, tough-cookie@4.0.0, 
> http-signature@0.10.1, form-data@0.1.4, hawk@1.0.0)
>  [INFO] ├── bower-config@0.5.3 (osenv@0.0.3, graceful-fs@2.0.3, 
> optimist@0.6.1)
>  [INFO] ├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
>  [INFO] ├── decompress-zip@0.0.8 (nopt@2.2.1, mkpath@0.1.0, touch@0.0.2, 
> readable-stream@1.1.14, binary@0.3.0)
>  [INFO] ├── bower-registry-client@0.2.4 (async@0.2.10, graceful-fs@2.0.3, 
> request-replay@0.2.0, lru-cache@2.3.1, mkdirp@0.3.5, request@2.51.0)
>  [INFO] ├── update-notifier@0.2.2 (is-npm@1.0.0, semver-diff@2.1.0, 
> chalk@0.5.1, string-length@1.0.1, latest-version@1.0.1, configstore@0.3.2)
>  [INFO] ├── handlebars@1.3.0 (optimist@0.3.7, uglify-js@2.3.6)
>  [INFO] ├── insight@0.3.1 (object-assign@0.1.2, async@0.2.10, 
> lodash.debounce@2.4.1, request@2.27.0, configstore@0.2.3, inquirer@0.4.1)
>  [INFO] ├── mout@0.9.1
>  [INFO] └── inquirer@0.5.1 (mute-stream@0.0.4, async@0.8.0, through@2.3.8, 
> lodash@2.4.2, readline2@0.1.1, cli-color@0.3.3)
>  [INFO] 
>  [INFO] phantomjs@2.1.7 node_modules/phantomjs
>  [INFO] ├── progress@1.1.8
>  [INFO] ├── kew@0.7.0
>  [INFO] ├── which@1.2.14 (isexe@2.0.0)
>  [INFO] ├── request-progress@2.0.1 (throttleit@1.0.0)
>  [INFO] ├── hasha@2.2.0 (is-stream@1.1.0, pinkie-promise@2.0.1)
>  [INFO] ├── extract-zip@1.5.0 (debug@0.7.4, yauzl@2.4.1, concat-stream@1.5.0, 
> mkdirp@0.5.0)
>  [INFO] ├── fs-extra@0.26.7 (path-is-absolute@1.0.1, klaw@1.3.1, 
> graceful-fs@4.2.3, jsonfile@2.4.0, rimraf@2.7.1)
>  [INFO] └── request@2.67.0 (aws-sign2@0.6.0, tunnel-agent@0.4.3, 
> oauth-sign@0.8.2, forever-agent@0.6.1, caseless@0.11.0, is-typedarray@1.0.0, 
> stringstream@0.0.6, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.2, 
> tough-cookie@2.2.2, qs@5.2.1, node-uuid@1.4.8, combined-stream@1.0.8, 
> mime-types@2.1.26, bl@1.0.3, hawk@3.1.3, har-validator@2.0.6, 
> http-signature@1.1.1, form-data@1.0.1)
>  [INFO] 
>  [INFO] karma-phantomjs-launcher@0.1.4 node_modules/karma-phantomjs-launcher
>  [INFO] └── phantomjs@1.9.20 (progress@1.1.8, kew@0.7.0, which@1.2.14, 
> request-progress@2.0.1, hasha@2.2.0, extract-zip@1.5.0, fs-extra@0.26.7, 
> request@2.67.0)
>  [INFO] 
>  [INFO] — exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin —
>  bower error Unexpected token {
> Stack trace:
>  SyntaxError: Unexpected token {
>  at exports.runInThisContext (vm.js:53:16)
>  at Module._compile 

[jira] [Updated] (AMBARI-25499) Unable to build ambari 2.7.5

2020-05-22 Thread Dmytro Grinenko (Jira)


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

Dmytro Grinenko updated AMBARI-25499:
-
Fix Version/s: 2.7.6

> Unable to build ambari 2.7.5
> 
>
> Key: AMBARI-25499
> URL: https://issues.apache.org/jira/browse/AMBARI-25499
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-admin
>Affects Versions: 2.7.1, 2.7.3, 2.7.4, 2.7.5
>Reporter: Luigi Caramico
>Assignee: Dmytro Grinenko
>Priority: Major
> Fix For: 2.7.6
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> following the instruction on 
> [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.7.5]
>  
> I started to build Ambari but I get the error:
>   
> {code}
> [INFO] — exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin —
>  bower error Unexpected token {
> {code}
>   
> {code}
> [INFO] bower@1.3.8 node_modules/bower
>  [INFO] ├── is-root@0.1.0
>  [INFO] ├── stringify-object@0.2.1
>  [INFO] ├── junk@0.3.0
>  [INFO] ├── abbrev@1.0.9
>  [INFO] ├── which@1.0.9
>  [INFO] ├── opn@0.1.2
>  [INFO] ├── bower-endpoint-parser@0.2.2
>  [INFO] ├── chmodr@0.1.2
>  [INFO] ├── bower-logger@0.2.2
>  [INFO] ├── archy@0.0.2
>  [INFO] ├── q@1.0.1
>  [INFO] ├── lockfile@0.4.3
>  [INFO] ├── nopt@3.0.6
>  [INFO] ├── rimraf@2.2.8
>  [INFO] ├── lru-cache@2.5.2
>  [INFO] ├── retry@0.6.1
>  [INFO] ├── tmp@0.0.23
>  [INFO] ├── osenv@0.1.5 (os-tmpdir@1.0.2, os-homedir@1.0.2)
>  [INFO] ├── chalk@0.4.0 (ansi-styles@1.0.0, has-color@0.1.7, strip-ansi@0.1.1)
>  [INFO] ├── semver@2.3.2
>  [INFO] ├── request-progress@0.3.1 (throttleit@0.0.2)
>  [INFO] ├── p-throttler@0.0.1 (q@0.9.7)
>  [INFO] ├── graceful-fs@3.0.12 (natives@1.1.6)
>  [INFO] ├── shell-quote@1.4.3 (array-filter@0.0.1, jsonify@0.0.0, 
> array-reduce@0.0.0, array-map@0.0.0)
>  [INFO] ├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, 
> graceful-fs@2.0.3)
>  [INFO] ├── mkdirp@0.5.5 (minimist@1.2.5)
>  [INFO] ├── promptly@0.2.1 (read@1.0.7)
>  [INFO] ├── fstream@0.1.31 (inherits@2.0.4)
>  [INFO] ├── tar@0.1.20 (inherits@2.0.4, block-stream@0.0.9)
>  [INFO] ├── fstream-ignore@0.0.10 (inherits@2.0.4, minimatch@0.3.0)
>  [INFO] ├── glob@4.0.6 (inherits@2.0.4, once@1.4.0, minimatch@1.0.0)
>  [INFO] ├── request@2.36.0 (tunnel-agent@0.4.3, aws-sign2@0.5.0, 
> forever-agent@0.5.2, qs@0.6.6, oauth-sign@0.3.0, mime@1.2.11, 
> json-stringify-safe@5.0.1, node-uuid@1.4.8, tough-cookie@4.0.0, 
> http-signature@0.10.1, form-data@0.1.4, hawk@1.0.0)
>  [INFO] ├── bower-config@0.5.3 (osenv@0.0.3, graceful-fs@2.0.3, 
> optimist@0.6.1)
>  [INFO] ├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
>  [INFO] ├── decompress-zip@0.0.8 (nopt@2.2.1, mkpath@0.1.0, touch@0.0.2, 
> readable-stream@1.1.14, binary@0.3.0)
>  [INFO] ├── bower-registry-client@0.2.4 (async@0.2.10, graceful-fs@2.0.3, 
> request-replay@0.2.0, lru-cache@2.3.1, mkdirp@0.3.5, request@2.51.0)
>  [INFO] ├── update-notifier@0.2.2 (is-npm@1.0.0, semver-diff@2.1.0, 
> chalk@0.5.1, string-length@1.0.1, latest-version@1.0.1, configstore@0.3.2)
>  [INFO] ├── handlebars@1.3.0 (optimist@0.3.7, uglify-js@2.3.6)
>  [INFO] ├── insight@0.3.1 (object-assign@0.1.2, async@0.2.10, 
> lodash.debounce@2.4.1, request@2.27.0, configstore@0.2.3, inquirer@0.4.1)
>  [INFO] ├── mout@0.9.1
>  [INFO] └── inquirer@0.5.1 (mute-stream@0.0.4, async@0.8.0, through@2.3.8, 
> lodash@2.4.2, readline2@0.1.1, cli-color@0.3.3)
>  [INFO] 
>  [INFO] phantomjs@2.1.7 node_modules/phantomjs
>  [INFO] ├── progress@1.1.8
>  [INFO] ├── kew@0.7.0
>  [INFO] ├── which@1.2.14 (isexe@2.0.0)
>  [INFO] ├── request-progress@2.0.1 (throttleit@1.0.0)
>  [INFO] ├── hasha@2.2.0 (is-stream@1.1.0, pinkie-promise@2.0.1)
>  [INFO] ├── extract-zip@1.5.0 (debug@0.7.4, yauzl@2.4.1, concat-stream@1.5.0, 
> mkdirp@0.5.0)
>  [INFO] ├── fs-extra@0.26.7 (path-is-absolute@1.0.1, klaw@1.3.1, 
> graceful-fs@4.2.3, jsonfile@2.4.0, rimraf@2.7.1)
>  [INFO] └── request@2.67.0 (aws-sign2@0.6.0, tunnel-agent@0.4.3, 
> oauth-sign@0.8.2, forever-agent@0.6.1, caseless@0.11.0, is-typedarray@1.0.0, 
> stringstream@0.0.6, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.2, 
> tough-cookie@2.2.2, qs@5.2.1, node-uuid@1.4.8, combined-stream@1.0.8, 
> mime-types@2.1.26, bl@1.0.3, hawk@3.1.3, har-validator@2.0.6, 
> http-signature@1.1.1, form-data@1.0.1)
>  [INFO] 
>  [INFO] karma-phantomjs-launcher@0.1.4 node_modules/karma-phantomjs-launcher
>  [INFO] └── phantomjs@1.9.20 (progress@1.1.8, kew@0.7.0, which@1.2.14, 
> request-progress@2.0.1, hasha@2.2.0, extract-zip@1.5.0, fs-extra@0.26.7, 
> request@2.67.0)
>  [INFO] 
>  [INFO] — exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin —
>  bower error Unexpected token {
> Stack trace:
>  SyntaxError: Unexpected token {
>  at exports.runInThisContext (vm.js:53:16)
>  at Module._compile 

[jira] [Updated] (AMBARI-25499) Unable to build ambari 2.7.5

2020-04-07 Thread Dmytro Grinenko (Jira)


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

Dmytro Grinenko updated AMBARI-25499:
-
Description: 
following the instruction on 
[https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.7.5]
 

I started to build Ambari but I get the error:
  
{code}
[INFO] — exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin —
 bower error Unexpected token {
{code}
  
{code}
[INFO] bower@1.3.8 node_modules/bower
 [INFO] ├── is-root@0.1.0
 [INFO] ├── stringify-object@0.2.1
 [INFO] ├── junk@0.3.0
 [INFO] ├── abbrev@1.0.9
 [INFO] ├── which@1.0.9
 [INFO] ├── opn@0.1.2
 [INFO] ├── bower-endpoint-parser@0.2.2
 [INFO] ├── chmodr@0.1.2
 [INFO] ├── bower-logger@0.2.2
 [INFO] ├── archy@0.0.2
 [INFO] ├── q@1.0.1
 [INFO] ├── lockfile@0.4.3
 [INFO] ├── nopt@3.0.6
 [INFO] ├── rimraf@2.2.8
 [INFO] ├── lru-cache@2.5.2
 [INFO] ├── retry@0.6.1
 [INFO] ├── tmp@0.0.23
 [INFO] ├── osenv@0.1.5 (os-tmpdir@1.0.2, os-homedir@1.0.2)
 [INFO] ├── chalk@0.4.0 (ansi-styles@1.0.0, has-color@0.1.7, strip-ansi@0.1.1)
 [INFO] ├── semver@2.3.2
 [INFO] ├── request-progress@0.3.1 (throttleit@0.0.2)
 [INFO] ├── p-throttler@0.0.1 (q@0.9.7)
 [INFO] ├── graceful-fs@3.0.12 (natives@1.1.6)
 [INFO] ├── shell-quote@1.4.3 (array-filter@0.0.1, jsonify@0.0.0, 
array-reduce@0.0.0, array-map@0.0.0)
 [INFO] ├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, 
graceful-fs@2.0.3)
 [INFO] ├── mkdirp@0.5.5 (minimist@1.2.5)
 [INFO] ├── promptly@0.2.1 (read@1.0.7)
 [INFO] ├── fstream@0.1.31 (inherits@2.0.4)
 [INFO] ├── tar@0.1.20 (inherits@2.0.4, block-stream@0.0.9)
 [INFO] ├── fstream-ignore@0.0.10 (inherits@2.0.4, minimatch@0.3.0)
 [INFO] ├── glob@4.0.6 (inherits@2.0.4, once@1.4.0, minimatch@1.0.0)
 [INFO] ├── request@2.36.0 (tunnel-agent@0.4.3, aws-sign2@0.5.0, 
forever-agent@0.5.2, qs@0.6.6, oauth-sign@0.3.0, mime@1.2.11, 
json-stringify-safe@5.0.1, node-uuid@1.4.8, tough-cookie@4.0.0, 
http-signature@0.10.1, form-data@0.1.4, hawk@1.0.0)
 [INFO] ├── bower-config@0.5.3 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1)
 [INFO] ├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
 [INFO] ├── decompress-zip@0.0.8 (nopt@2.2.1, mkpath@0.1.0, touch@0.0.2, 
readable-stream@1.1.14, binary@0.3.0)
 [INFO] ├── bower-registry-client@0.2.4 (async@0.2.10, graceful-fs@2.0.3, 
request-replay@0.2.0, lru-cache@2.3.1, mkdirp@0.3.5, request@2.51.0)
 [INFO] ├── update-notifier@0.2.2 (is-npm@1.0.0, semver-diff@2.1.0, 
chalk@0.5.1, string-length@1.0.1, latest-version@1.0.1, configstore@0.3.2)
 [INFO] ├── handlebars@1.3.0 (optimist@0.3.7, uglify-js@2.3.6)
 [INFO] ├── insight@0.3.1 (object-assign@0.1.2, async@0.2.10, 
lodash.debounce@2.4.1, request@2.27.0, configstore@0.2.3, inquirer@0.4.1)
 [INFO] ├── mout@0.9.1
 [INFO] └── inquirer@0.5.1 (mute-stream@0.0.4, async@0.8.0, through@2.3.8, 
lodash@2.4.2, readline2@0.1.1, cli-color@0.3.3)
 [INFO] 
 [INFO] phantomjs@2.1.7 node_modules/phantomjs
 [INFO] ├── progress@1.1.8
 [INFO] ├── kew@0.7.0
 [INFO] ├── which@1.2.14 (isexe@2.0.0)
 [INFO] ├── request-progress@2.0.1 (throttleit@1.0.0)
 [INFO] ├── hasha@2.2.0 (is-stream@1.1.0, pinkie-promise@2.0.1)
 [INFO] ├── extract-zip@1.5.0 (debug@0.7.4, yauzl@2.4.1, concat-stream@1.5.0, 
mkdirp@0.5.0)
 [INFO] ├── fs-extra@0.26.7 (path-is-absolute@1.0.1, klaw@1.3.1, 
graceful-fs@4.2.3, jsonfile@2.4.0, rimraf@2.7.1)
 [INFO] └── request@2.67.0 (aws-sign2@0.6.0, tunnel-agent@0.4.3, 
oauth-sign@0.8.2, forever-agent@0.6.1, caseless@0.11.0, is-typedarray@1.0.0, 
stringstream@0.0.6, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.2, 
tough-cookie@2.2.2, qs@5.2.1, node-uuid@1.4.8, combined-stream@1.0.8, 
mime-types@2.1.26, bl@1.0.3, hawk@3.1.3, har-validator@2.0.6, 
http-signature@1.1.1, form-data@1.0.1)
 [INFO] 
 [INFO] karma-phantomjs-launcher@0.1.4 node_modules/karma-phantomjs-launcher
 [INFO] └── phantomjs@1.9.20 (progress@1.1.8, kew@0.7.0, which@1.2.14, 
request-progress@2.0.1, hasha@2.2.0, extract-zip@1.5.0, fs-extra@0.26.7, 
request@2.67.0)
 [INFO] 
 [INFO] — exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin —
 bower error Unexpected token {

Stack trace:
 SyntaxError: Unexpected token {
 at exports.runInThisContext (vm.js:53:16)
 at Module._compile (module.js:373:25)
 at Object.Module._extensions..js (module.js:416:10)
 at Module.load (module.js:343:32)
 at Function.Module._load (module.js:300:12)
 at Module.require (module.js:353:17)
 at require (internal/module.js:12:17)
 at Object. 
(/usr/src/apache-ambari-2.7.5-src/ambari-admin/src/main/resources/ui/admin-web/node_modules/bower/node_modules/bower-registry-client/node_modules/request/lib/cookies.js:3:13)
 at Module._compile (module.js:409:26)
 at Object.Module._extensions..js (module.js:416:10)

Console trace:
 Trace
 at StandardRenderer.error 
(/usr/src/apache-ambari-2.7.5-src/ambari-admin/src/main/resources/ui/admin-web/node_modules/bower/lib/renderers/StandardRenderer.js:72:17)
 at