Member since
12-08-2017
7
Posts
1
Kudos Received
0
Solutions
02-20-2018
03:08 PM
This helped me 🙂
just a litte more detai for the sym link:
rm /usr/share/java/mysql-connector-java.jar
ln -s /usr/share/java/mysql-connector-java-5.1.45-bin.jar /usr/share/java/mysql-connector-java.jar
... View more
12-11-2017
02:59 PM
1 Kudo
So after a lot of mostly random debugging i found a solution 🙂 even if i did everything mention so far i got failed on "metron-config" it kept asking for modules like, tough-cookie, safe-json-stringify, json-stringify-safe, stringstream, caseless ..... (although i can find the folders and files for these). so what i did: (including above about gcc) after this fails the first time: mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack i did: cd /location/metron/metron-interface/metron-config
npm install
npm install #read somewhere that doing double is the way to go
cd /location/metron/ #backto original metron location
mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpac then i got success on all 🙂 hope this helps other people 🙂
... View more
12-08-2017
06:44 PM
@rmerriman, yeap you are right now re-reading it doesnt explain much 😕 the first error i had was an issue with node-gyp, but he below fixed that pm install npm@latest -g
npm install -g node-gyp
the other thing is metron seems to have its own npm and node in "/files/metron/metron-interface/metron-config/node/" so thats the thing about the version that is being shown. my current issue is (googled it a few hours cant fix it 😞 [INFO] Cannot find module 'tough-cookie'
Downloading: https://raw.github.com/benelog/multiline/master/maven-repository/com/sun/jersey/jersey-core/1.19/jersey-core-1.19.pom
[INFO] Error: Cannot find module 'tough-cookie'
[INFO] at Function.Module._resolveFilename (module.js:440:15)
[INFO] at Function.Module._load (module.js:388:25)
[INFO] at Module.require (module.js:468:17)
[INFO] at require (internal/module.js:20:19)
[INFO] at Object.<anonymous> (/files/metron/metron-interface/metron-config/node_modules/request/lib/cookies.js:3:13)
[INFO] at Module._compile (module.js:541:32)
[INFO] at Object.Module._extensions..js (module.js:550:10)
[INFO] at Module.load (module.js:458:32)
[INFO] at tryModuleLoad (module.js:417:12)
[INFO] at Function.Module._load (module.js:409:3)
[INFO] at Module.require (module.js:468:17)
[INFO] at require (internal/module.js:20:19)
[INFO] at Object.<anonymous> (/files/metron/metron-interface/metron-config/node_modules/request/index.js:18:15)
[INFO] at Module._compile (module.js:541:32)
[INFO] at Object.Module._extensions..js (module.js:550:10)
[INFO] at Module.load (module.js:458:32)
[INFO] at tryModuleLoad (module.js:417:12)
[INFO] at Function.Module._load (module.js:409:3)
[INFO] at Module.require (module.js:468:17)
[INFO] at require (internal/module.js:20:19)
[INFO] at Leek._enqueue (/files/metron/metron-interface/metron-config/node_modules/leek/lib/leek.js:60:30)
[INFO] at Leek.track (/files/metron/metron-interface/metron-config/node_modules/leek/lib/leek.js:87:15)
[INFO] at Class.Command.validateAndRun (/files/metron/metron-interface/metron-config/node_modules/angular-cli/lib/models/command.js:119:18)
[INFO] at /files/metron/metron-interface/metron-config/node_modules/angular-cli/lib/cli/cli.js:86:22
[INFO] at tryCatch (/files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:12)
[INFO] at invokeCallback (/files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/-internal.js:211:13)
[INFO] at /files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/then.js:26:14
[INFO] at flush (/files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/asap.js:80:5)
[INFO] at _combinedTickCallback (internal/process/next_tick.js:67:7)
[INFO] at process._tickCallback (internal/process/next_tick.js:98:9)
thanks npm-debug.txt
... View more
12-08-2017
06:44 PM
Yeap you are right now re-reading it doesnt explain much 😕 the first error i had was an issue with node-gyp, but he below fixed that pm install npm@latest -g
npm install -g node-gyp
the other thing is metron seems to have its own npm and node in "/files/metron/metron-interface/metron-config/node/" so thats the thing about the version that is being shown. my current issue is (googled it a few hours cant fix it 😞 [INFO] Cannot find module 'tough-cookie'
Downloading: https://raw.github.com/benelog/multiline/master/maven-repository/com/sun/jersey/jersey-core/1.19/jersey-core-1.19.pom
[INFO] Error: Cannot find module 'tough-cookie'
[INFO] at Function.Module._resolveFilename (module.js:440:15)
[INFO] at Function.Module._load (module.js:388:25)
[INFO] at Module.require (module.js:468:17)
[INFO] at require (internal/module.js:20:19)
[INFO] at Object.<anonymous> (/files/metron/metron-interface/metron-config/node_modules/request/lib/cookies.js:3:13)
[INFO] at Module._compile (module.js:541:32)
[INFO] at Object.Module._extensions..js (module.js:550:10)
[INFO] at Module.load (module.js:458:32)
[INFO] at tryModuleLoad (module.js:417:12)
[INFO] at Function.Module._load (module.js:409:3)
[INFO] at Module.require (module.js:468:17)
[INFO] at require (internal/module.js:20:19)
[INFO] at Object.<anonymous> (/files/metron/metron-interface/metron-config/node_modules/request/index.js:18:15)
[INFO] at Module._compile (module.js:541:32)
[INFO] at Object.Module._extensions..js (module.js:550:10)
[INFO] at Module.load (module.js:458:32)
[INFO] at tryModuleLoad (module.js:417:12)
[INFO] at Function.Module._load (module.js:409:3)
[INFO] at Module.require (module.js:468:17)
[INFO] at require (internal/module.js:20:19)
[INFO] at Leek._enqueue (/files/metron/metron-interface/metron-config/node_modules/leek/lib/leek.js:60:30)
[INFO] at Leek.track (/files/metron/metron-interface/metron-config/node_modules/leek/lib/leek.js:87:15)
[INFO] at Class.Command.validateAndRun (/files/metron/metron-interface/metron-config/node_modules/angular-cli/lib/models/command.js:119:18)
[INFO] at /files/metron/metron-interface/metron-config/node_modules/angular-cli/lib/cli/cli.js:86:22
[INFO] at tryCatch (/files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:12)
[INFO] at invokeCallback (/files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/-internal.js:211:13)
[INFO] at /files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/then.js:26:14
[INFO] at flush (/files/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/asap.js:80:5)
[INFO] at _combinedTickCallback (internal/process/next_tick.js:67:7)
[INFO] at process._tickCallback (internal/process/next_tick.js:98:9)
thanksnpm-debug.txt
... View more
12-08-2017
02:13 PM
hello i am following the same guide, had the same issue, it is fixed with gcc udpate i have a new one now 😞 [ERROR] npm ERR! node v6.2.0
[ERROR] npm ERR! npm v3.8.9
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! metron-management-ui@0.4.1 build: `./node_modules/angular-cli/bin/ng build -prod`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the metron-management-ui@0.4.1 build script './node_modules/angular-cli/bin/ng build -prod'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the metron-management-ui package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! ./node_modules/angular-cli/bin/ng build -prod
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs metron-management-ui
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR! npm owner ls metron-management-ui
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /files/metron/metron-interface/metron-config/npm-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Metron ............................................. SUCCESS [ 0.906 s]
[INFO] metron-stellar ..................................... SUCCESS [ 0.778 s]
[INFO] stellar-common ..................................... SUCCESS [ 17.756 s]
[INFO] metron-analytics ................................... SUCCESS [ 0.119 s]
[INFO] metron-maas-common ................................. SUCCESS [ 1.241 s]
[INFO] metron-platform .................................... SUCCESS [ 0.776 s]
[INFO] metron-test-utilities .............................. SUCCESS [ 7.836 s]
[INFO] metron-integration-test ............................ SUCCESS [ 7.076 s]
[INFO] metron-maas-service ................................ SUCCESS [ 4.256 s]
[INFO] metron-common ...................................... SUCCESS [ 16.107 s]
[INFO] metron-statistics .................................. SUCCESS [ 21.441 s]
[INFO] metron-writer ...................................... SUCCESS [ 21.390 s]
[INFO] metron-storm-kafka-override ........................ SUCCESS [ 0.456 s]
[INFO] metron-storm-kafka ................................. SUCCESS [ 0.893 s]
[INFO] metron-hbase ....................................... SUCCESS [ 3.917 s]
[INFO] metron-profiler-common ............................. SUCCESS [ 0.738 s]
[INFO] metron-profiler-client ............................. SUCCESS [ 20.567 s]
[INFO] metron-profiler .................................... SUCCESS [ 53.493 s]
[INFO] metron-hbase-client ................................ SUCCESS [ 12.171 s]
[INFO] metron-enrichment .................................. SUCCESS [ 56.167 s]
[INFO] metron-indexing .................................... SKIPPED
[INFO] metron-solr ........................................ SKIPPED
[INFO] metron-pcap ........................................ SUCCESS [ 1.024 s]
[INFO] metron-parsers ..................................... SKIPPED
[INFO] metron-pcap-backend ................................ SUCCESS [ 33.102 s]
[INFO] metron-data-management ............................. SKIPPED
[INFO] metron-api ......................................... SUCCESS [ 30.190 s]
[INFO] metron-management .................................. SKIPPED
[INFO] elasticsearch-shaded ............................... SUCCESS [ 10.245 s]
[INFO] metron-elasticsearch ............................... SKIPPED
[INFO] metron-deployment .................................. SUCCESS [ 0.004 s]
[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 3.798 s]
[INFO] metron-contrib ..................................... SUCCESS [ 0.006 s]
[INFO] metron-docker ...................................... SUCCESS [ 3.957 s]
[INFO] metron-interface ................................... SUCCESS [ 0.114 s]
[INFO] metron-config ...................................... FAILURE [02:12 min]
[INFO] metron-alerts ...................................... SUCCESS [02:00 min]
[INFO] metron-rest-client ................................. SUCCESS [ 0.429 s]
[INFO] metron-rest ........................................ SKIPPED
[INFO] site-book .......................................... SUCCESS [ 0.888 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:13 min (Wall Clock)
[INFO] Finished at: 2017-12-08T11:12:28+00:00
[INFO] Final Memory: 176M/3097M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (ng build) on project metron-config: Failed to run task: 'npm run build' failed. (error code 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :metron-config
one thing to note is i updated node and npm [root@dmetron01 metron]# npm --version
3.10.10
[root@dmetron01 metron]# node --version
v6.12.1
any ideas ? thanks
... View more