Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

(Apache Metron) Error in Building Metron

Re: (Apache Metron) Error in Building Metron

Super Collaborator

You will need to address this issue then. Can you post the error you are seeing upon running mvn clean package -DskipTests

Re: (Apache Metron) Error in Building Metron

New Contributor

I stuck at metron-config

[INFO] Reactor Summary:

[INFO]

[INFO] Metron ............................................. SUCCESS [ 0.652 s]

[INFO] metron-stellar ..................................... SUCCESS [ 0.035 s]

[INFO] stellar-common ..................................... SUCCESS [ 17.265 s]

[INFO] metron-analytics ................................... SUCCESS [ 0.005 s]

[INFO] metron-maas-common ................................. SUCCESS [ 0.692 s]

[INFO] metron-platform .................................... SUCCESS [ 0.013 s]

[INFO] metron-zookeeper ................................... SUCCESS [ 0.162 s]

[INFO] metron-test-utilities .............................. SUCCESS [ 0.423 s]

[INFO] metron-integration-test ............................ SUCCESS [ 6.094 s]

[INFO] metron-maas-service ................................ SUCCESS [ 3.724 s]

[INFO] metron-common ...................................... SUCCESS [ 14.465 s]

[INFO] metron-statistics .................................. SUCCESS [ 14.353 s]

[INFO] metron-hbase ....................................... SUCCESS [ 1.052 s]

[INFO] metron-enrichment .................................. SUCCESS [ 0.030 s]

[INFO] metron-enrichment-common ........................... SUCCESS [ 24.089 s]

[INFO] metron-writer ...................................... SUCCESS [ 13.444 s]

[INFO] metron-storm-kafka-override ........................ SUCCESS [ 1.647 s]

[INFO] metron-storm-kafka ................................. SUCCESS [ 0.311 s]

[INFO] metron-profiler-common ............................. SUCCESS [ 0.667 s]

[INFO] metron-profiler-client ............................. SUCCESS [ 18.382 s]

[INFO] metron-profiler-storm .............................. SUCCESS [ 46.498 s]

[INFO] metron-profiler-spark .............................. SUCCESS [ 53.486 s]

[INFO] metron-profiler-repl ............................... SUCCESS [ 11.122 s]

[INFO] metron-hbase-client ................................ SUCCESS [ 5.787 s]

[INFO] metron-enrichment-storm ............................ SUCCESS [ 45.199 s]

[INFO] metron-indexing .................................... SUCCESS [ 20.623 s]

[INFO] metron-solr ........................................ SUCCESS [ 34.713 s]

[INFO] metron-job ......................................... SUCCESS [ 0.269 s]

[INFO] metron-pcap ........................................ SUCCESS [ 1.464 s]

[INFO] metron-pcap-backend ................................ SUCCESS [ 25.550 s]

[INFO] metron-data-management ............................. SUCCESS [ 25.694 s]

[INFO] metron-parsing ..................................... SUCCESS [ 0.003 s]

[INFO] metron-parsers-common .............................. SUCCESS [ 45.568 s]

[INFO] metron-parsers ..................................... SUCCESS [ 45.451 s]

[INFO] metron-management .................................. SUCCESS [ 6.689 s]

[INFO] elasticsearch-shaded ............................... SUCCESS [ 5.054 s]

[INFO] metron-elasticsearch ............................... SUCCESS [ 40.535 s]

[INFO] metron-parsing-storm ............................... SUCCESS [ 46.864 s]

[INFO] metron-deployment .................................. SUCCESS [ 0.002 s]

[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [ 0.041 s]

[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 0.256 s]

[INFO] metron-contrib ..................................... SUCCESS [ 0.003 s]

[INFO] metron-docker ...................................... SUCCESS [ 0.467 s]

[INFO] metron-performance ................................. SUCCESS [ 1.926 s]

[INFO] metron-interface ................................... SUCCESS [ 0.002 s]

[INFO] metron-config ...................................... FAILURE [ 12.903 s]

[INFO] metron-alerts ...................................... SKIPPED

[INFO] metron-rest-client ................................. SKIPPED

[INFO] metron-rest ........................................ SKIPPED

[INFO] site-book .......................................... SKIPPED

[INFO] 3rd party Functions (just for tests) ............... SKIPPED

[INFO] stellar-zeppelin ................................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE


Re: (Apache Metron) Error in Building Metron

New Contributor

I have run the command at this directory and I still get stuck at metron-config

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Metron ............................................. SUCCESS [ 0.578 s]

[INFO] metron-stellar ..................................... SUCCESS [ 0.044 s]

[INFO] stellar-common ..................................... SUCCESS [ 17.561 s]

[INFO] metron-analytics ................................... SUCCESS [ 0.006 s]

[INFO] metron-maas-common ................................. SUCCESS [ 18.656 s]

[INFO] metron-platform .................................... SUCCESS [ 0.012 s]

[INFO] metron-zookeeper ................................... SUCCESS [ 0.169 s]

[INFO] metron-test-utilities .............................. SUCCESS [ 25.714 s]

[INFO] metron-integration-test ............................ SUCCESS [02:13 min]

[INFO] metron-maas-service ................................ SUCCESS [ 9.067 s]

[INFO] metron-common ...................................... SUCCESS [01:24 min]

[INFO] metron-statistics .................................. SUCCESS [ 17.650 s]

[INFO] metron-hbase ....................................... SUCCESS [01:48 min]

[INFO] metron-enrichment .................................. SUCCESS [ 0.025 s]

[INFO] metron-enrichment-common ........................... SUCCESS [ 35.015 s]

[INFO] metron-writer ...................................... SUCCESS [ 13.276 s]

[INFO] metron-storm-kafka-override ........................ SUCCESS [ 1.661 s]

[INFO] metron-storm-kafka ................................. SUCCESS [ 0.320 s]

[INFO] metron-profiler-common ............................. SUCCESS [ 6.865 s]

[INFO] metron-profiler-client ............................. SUCCESS [ 27.519 s]

[INFO] metron-profiler-storm .............................. SUCCESS [ 49.920 s]

[INFO] metron-profiler-spark .............................. SUCCESS [08:12 min]

[INFO] metron-profiler-repl ............................... SUCCESS [ 11.412 s]

[INFO] metron-hbase-client ................................ SUCCESS [ 5.619 s]

[INFO] metron-enrichment-storm ............................ SUCCESS [ 50.860 s]

[INFO] metron-indexing .................................... SUCCESS [ 22.570 s]

[INFO] metron-solr ........................................ SUCCESS [02:55 min]

[INFO] metron-job ......................................... SUCCESS [ 0.244 s]

[INFO] metron-pcap ........................................ SUCCESS [ 4.891 s]

[INFO] metron-pcap-backend ................................ SUCCESS [ 26.528 s]

[INFO] metron-data-management ............................. SUCCESS [01:21 min]

[INFO] metron-parsing ..................................... SUCCESS [ 0.003 s]

[INFO] metron-parsers-common .............................. SUCCESS [ 56.805 s]

[INFO] metron-parsers ..................................... SUCCESS [ 42.499 s]

[INFO] metron-management .................................. SUCCESS [ 7.038 s]

[INFO] elasticsearch-shaded ............................... SUCCESS [ 5.697 s]

[INFO] metron-elasticsearch ............................... SUCCESS [ 50.757 s]

[INFO] metron-parsing-storm ............................... SUCCESS [ 46.263 s]

[INFO] metron-deployment .................................. SUCCESS [ 0.002 s]

[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [ 0.103 s]

[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 0.495 s]

[INFO] metron-contrib ..................................... SUCCESS [ 0.002 s]

[INFO] metron-docker ...................................... SUCCESS [ 2.435 s]

[INFO] metron-performance ................................. SUCCESS [ 2.426 s]

[INFO] metron-interface ................................... SUCCESS [ 0.002 s]

[INFO] metron-config ...................................... FAILURE [ 18.994 s]

[INFO] metron-alerts ...................................... SKIPPED

[INFO] metron-rest-client ................................. SKIPPED

[INFO] metron-rest ........................................ SKIPPED

[INFO] site-book .......................................... SKIPPED

[INFO] 3rd party Functions (just for tests) ............... SKIPPED

[INFO] stellar-zeppelin ................................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 27:36 min

[INFO] Finished at: 2019-04-16T09:27:00+08:00

[INFO] Final Memory: 196M/1104M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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



Re: (Apache Metron) Error in Building Metron

New Contributor

HI @asubramanian, I keep getting above error when i run

mvn clean package -DskipTests 

in top level metron directory.




Re: (Apache Metron) Error in Building Metron

Super Collaborator

Hi @Akmal Latip, any way you can give this a try on another system? I think this has to do with the node and npm versions since I see that 'npm ci' is failing.

Don't have an account?
Coming from Hortonworks? Activate your account here