Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Apache Metron on single node VM(Cent OS) - deployment issue

avatar
Explorer

Hi, I am trying to deploy Apache Metron version 0.5.1 on single node VM (Centos 6.5) and facing the below error after vagrant provision.

ASK [metron-builder : Build Metron] ******************************************* failed: [node1 -> localhost] (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) => {"changed": true, "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack", "delta": "0:01:06.662475", "end": "2018-07-26 07:28:12.707250", "failed": true, "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack", "rc": 1, "start": "2018-07-26 07:27:06.044775", "stderr": "", "stdout": "[INFO] Scanning for projects...\n[INFO] ------------------------------------------------------------------------\n[INFO] Reactor Build Order:\n[INFO] \n[INFO] Metron\n[INFO] metron-stellar\n[INFO] stellar-common\n[INFO] metron-analytics\n[INFO] metron-maas-common\n[INFO] metron-platform\n[INFO] metron-zookeeper\n[INFO] metron-test-utilities\n[INFO] metron-integration-test\n[INFO] metron-maas-service\n[INFO] metron-common\n[INFO] metron-statistics\n[INFO] metron-writer\n[INFO] metron-storm-kafka-override\n[INFO] metron-storm-kafka\n[INFO] metron-hbase\n[INFO] metron-profiler-common\n[INFO] metron-profiler-client\n[INFO] metron-profiler\n[INFO] metron-hbase-client\n[INFO] metron-enrichment\n[INFO] metron-indexing\n[INFO] metron-solr\n[INFO] metron-pcap\n[INFO] metron-parsers\n[INFO] metron-pcap-backend\n[INFO] metron-data-management\n[INFO] metron-api\n[INFO] metron-management\n[INFO] elasticsearch-shaded\n[INFO] metron-elasticsearch\n[INFO] metron-deployment\n[INFO] Elasticsearch Ambari Management Pack\n[INFO] Metron Ambari Management Pack\n[INFO] metron-contrib\n[INFO] metron-docker\n[INFO] metron-performance\n[INFO] metron-interface\n[INFO] metron-config\n[INFO] metron-alerts\n[INFO] metron-rest-client\n[INFO] metron-rest\n[INFO] site-book\n[INFO] 3rd party Functions (just for tests)\n[INFO] stellar-zeppelin\n[INFO] \n[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8\n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building Metron 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ Metron ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ Metron ---\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ Metron ---\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[INFO] \n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-platform 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-analytics 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-stellar 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-contrib 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building site-book 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-deployment 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-interface 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-analytics ---\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-contrib ---\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-platform ---\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-stellar ---\nDownloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.7/maven-site-plugin-3.7.pom\n\r[INFO] ------------------------------------------------------------------------\n[INFO] Reactor Summary:\n[INFO] \n[INFO] Metron ............................................. SUCCESS [ 0.838 s]\n[INFO] metron-stellar ..................................... SKIPPED\n[INFO] stellar-common ..................................... SKIPPED\n[INFO] metron-analytics ................................... SKIPPED\n[INFO] metron-maas-common ................................. SKIPPED\n[INFO] metron-platform .................................... SKIPPED\n[INFO] metron-zookeeper ................................... SKIPPED\n[INFO] metron-test-utilities .............................. SKIPPED\n[INFO] metron-integration-test ............................ SKIPPED\n[INFO] metron-maas-service ................................ SKIPPED\n[INFO] metron-common ...................................... SKIPPED\n[INFO] metron-statistics .................................. SKIPPED\n[INFO] metron-writer ...................................... SKIPPED\n[INFO] metron-storm-kafka-override ........................ SKIPPED\n[INFO] metron-storm-kafka ................................. SKIPPED\n[INFO] metron-hbase ....................................... SKIPPED\n[INFO] metron-profiler-common ............................. SKIPPED\n[INFO] metron-profiler-client ............................. SKIPPED\n[INFO] metron-profiler .................................... SKIPPED\n[INFO] metron-hbase-client ................................ SKIPPED\n[INFO] metron-enrichment .................................. SKIPPED\n[INFO] metron-indexing .................................... SKIPPED\n[INFO] metron-solr ........................................ SKIPPED\n[INFO] metron-pcap ........................................ SKIPPED\n[INFO] metron-parsers ..................................... SKIPPED\n[INFO] metron-pcap-backend ................................ SKIPPED\n[INFO] metron-data-management ............................. SKIPPED\n[INFO] metron-api ......................................... SKIPPED\n[INFO] metron-management .................................. SKIPPED\n[INFO] elasticsearch-shaded ............................... SKIPPED\n[INFO] metron-elasticsearch ............................... SKIPPED\n[INFO] metron-deployment .................................. SKIPPED\n[INFO] Elasticsearch Ambari Management Pack ............... SKIPPED\n[INFO] Metron Ambari Management Pack ...................... SKIPPED\n[INFO] metron-contrib ..................................... SKIPPED\n[INFO] metron-docker ...................................... SKIPPED\n[INFO] metron-performance ................................. SKIPPED\n[INFO] metron-interface ................................... SKIPPED\n[INFO] metron-config ...................................... SKIPPED\n[INFO] metron-alerts ...................................... SKIPPED\n[INFO] metron-rest-client ................................. SKIPPED\n[INFO] metron-rest ........................................ SKIPPED\n[INFO] site-book .......................................... FAILURE [01:03 min]\n[INFO] 3rd party Functions (just for tests) ............... SKIPPED\n[INFO] stellar-zeppelin ................................... SKIPPED\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD FAILURE\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---\n[INFO] Total time: 01:05 min (Wall Clock)\n[INFO] Finished at: 2018-07-26T07:28:12+05:30\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-platform ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-stellar ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---\n[INFO] Final Memory: 26M/270M\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-contrib ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-analytics ---\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-platform/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-platform ---\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-analytics/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-analytics ---\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-deployment/target/jacoco.exec\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-contrib/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-contrib ---\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-interface ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-interface ---\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-stellar/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-stellar ---\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[ERROR] Plugin org.apache.maven.plugins:maven-site-plugin:3.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.7: Could not transfer artifact org.apache.maven.plugins:maven-site-plugin:pom:3.7 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.12.215] failed: Connection timed out (Connection timed out) -> [Help 1]\n[ERROR] \n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\n[ERROR] \n[ERROR] For more information about the errors and possible solutions, please read the following articles:\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-interface/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-interface ---", "stdout_lines": ["[INFO] Scanning for projects...", "[INFO] ------------------------------------------------------------------------", "[INFO] Reactor Build Order:", "[INFO] ", "[INFO] Metron", "[INFO] metron-stellar", "[INFO] stellar-common", "[INFO] metron-analytics", "[INFO] metron-maas-common", "[INFO] metron-platform", "[INFO] metron-zookeeper", "[INFO] metron-test-utilities", "[INFO] metron-integration-test", "[INFO] metron-maas-service", "[INFO] metron-common", "[INFO] metron-statistics", "[INFO] metron-writer", "[INFO] metron-storm-kafka-override", "[INFO] metron-storm-kafka", "[INFO] metron-hbase", "[INFO] metron-profiler-common", "[INFO] metron-profiler-client", "[INFO] metron-profiler", "[INFO] metron-hbase-client", "[INFO] metron-enrichment", "[INFO] metron-indexing", "[INFO] metron-solr", "[INFO] metron-pcap", "[INFO] metron-parsers", "[INFO] metron-pcap-backend", "[INFO] metron-data-management", "[INFO] metron-api", "[INFO] metron-management", "[INFO] elasticsearch-shaded", "[INFO] metron-elasticsearch", "[INFO] metron-deployment", "[INFO] Elasticsearch Ambari Management Pack", "[INFO] Metron Ambari Management Pack", "[INFO] metron-contrib", "[INFO] metron-docker", "[INFO] metron-performance", "[INFO] metron-interface", "[INFO] metron-config", "[INFO] metron-alerts", "[INFO] metron-rest-client", "[INFO] metron-rest", "[INFO] site-book", "[INFO] 3rd party Functions (just for tests)", "[INFO] stellar-zeppelin", "[INFO] ", "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building Metron 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ Metron ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ Metron ---", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ Metron ---", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[INFO] ", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-platform 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-analytics 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-stellar 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-contrib 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building site-book 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-deployment 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-interface 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-analytics ---", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-contrib ---", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-platform ---", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-stellar ---", "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.7/maven-site-plugin-3.7.pom", "", "[INFO] ------------------------------------------------------------------------", "[INFO] Reactor Summary:", "[INFO] ", "[INFO] Metron ............................................. SUCCESS [ 0.838 s]", "[INFO] metron-stellar ..................................... SKIPPED", "[INFO] stellar-common ..................................... SKIPPED", "[INFO] metron-analytics ................................... SKIPPED", "[INFO] metron-maas-common ................................. SKIPPED", "[INFO] metron-platform .................................... SKIPPED", "[INFO] metron-zookeeper ................................... SKIPPED", "[INFO] metron-test-utilities .............................. SKIPPED", "[INFO] metron-integration-test ............................ SKIPPED", "[INFO] metron-maas-service ................................ SKIPPED", "[INFO] metron-common ...................................... SKIPPED", "[INFO] metron-statistics .................................. SKIPPED", "[INFO] metron-writer ...................................... SKIPPED", "[INFO] metron-storm-kafka-override ........................ SKIPPED", "[INFO] metron-storm-kafka ................................. SKIPPED", "[INFO] metron-hbase ....................................... SKIPPED", "[INFO] metron-profiler-common ............................. SKIPPED", "[INFO] metron-profiler-client ............................. SKIPPED", "[INFO] metron-profiler .................................... SKIPPED", "[INFO] metron-hbase-client ................................ SKIPPED", "[INFO] metron-enrichment .................................. SKIPPED", "[INFO] metron-indexing .................................... SKIPPED", "[INFO] metron-solr ........................................ SKIPPED", "[INFO] metron-pcap ........................................ SKIPPED", "[INFO] metron-parsers ..................................... SKIPPED", "[INFO] metron-pcap-backend ................................ SKIPPED", "[INFO] metron-data-management ............................. SKIPPED", "[INFO] metron-api ......................................... SKIPPED", "[INFO] metron-management .................................. SKIPPED", "[INFO] elasticsearch-shaded ............................... SKIPPED", "[INFO] metron-elasticsearch ............................... SKIPPED", "[INFO] metron-deployment .................................. SKIPPED", "[INFO] Elasticsearch Ambari Management Pack ............... SKIPPED", "[INFO] Metron Ambari Management Pack ...................... SKIPPED", "[INFO] metron-contrib ..................................... SKIPPED", "[INFO] metron-docker ...................................... SKIPPED", "[INFO] metron-performance ................................. SKIPPED", "[INFO] metron-interface ................................... SKIPPED", "[INFO] metron-config ...................................... SKIPPED", "[INFO] metron-alerts ...................................... SKIPPED", "[INFO] metron-rest-client ................................. SKIPPED", "[INFO] metron-rest ........................................ SKIPPED", "[INFO] site-book .......................................... FAILURE [01:03 min]", "[INFO] 3rd party Functions (just for tests) ............... SKIPPED", "[INFO] stellar-zeppelin ................................... SKIPPED", "[INFO] ------------------------------------------------------------------------", "[INFO] BUILD FAILURE", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---", "[INFO] Total time: 01:05 min (Wall Clock)", "[INFO] Finished at: 2018-07-26T07:28:12+05:30", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-platform ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-stellar ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---", "[INFO] Final Memory: 26M/270M", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-contrib ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-analytics ---", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-platform/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-platform ---", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-analytics/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-analytics ---", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-deployment/target/jacoco.exec", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-contrib/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-contrib ---", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-interface ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-interface ---", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-stellar/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-stellar ---", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[ERROR] Plugin org.apache.maven.plugins:maven-site-plugin:3.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.7: Could not transfer artifact org.apache.maven.plugins:maven-site-plugin:pom:3.7 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.12.215] failed: Connection timed out (Connection timed out) -> [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/PluginResolutionException", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/metron-interface/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-interface ---"], "warnings": []} NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @/metron/metron-deployment/development/centos6/ansible/playbook.retry PLAY RECAP ********************************************************************* node1 : ok=7 changed=2 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. bash-4.1# vagrant provision

1 ACCEPTED SOLUTION

avatar
Explorer
Hi,

Please find the script output below

bash-4.1# ./platform-info.sh 
Metron 0.5.1
--
* master
--
commit 6bac842d7ad2819c56412837d8befb603ef15f35 (HEAD -> master, origin/master, origin/HEAD)
Author: ottobackwards <ottobackwards@gmail.com>
Date:   Fri Jul 20 17:44:35 2018 -0400


    METRON-1606 Add a 'wrap' to incoming messages in the metron json parser (ottobackwards) closes apache/metron#1054
--
--
ansible 2.2.2.0
  config file = 
  configured module search path = Default w/o overrides
--
Vagrant 2.1.2
--
vagrant-hostmanager (1.8.9)
--
Python 2.6.6
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
Maven home: /usr/local/maven/apache-maven-3.3.9
Java version: 1.8.0_171, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el6_9.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-754.2.1.el6.x86_64", arch: "amd64", family: "unix"
--
Docker version 1.7.1, build 786b29d/1.7.1
--
node
v0.10.48
--
npm
1.3.6
--
g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


--
Compiler is C++11 compliant
--
Linux localhost.localdomain 2.6.32-754.2.1.el6.x86_64 #1 SMP Fri Jul 13 12:50:12 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 15953 MB
Processor Model: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
Processor Speed: 2399.999 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/mapper/VolGroup-lv_root
/dev/sda1             477M   70M  382M  16% /boot
/dev/mapper/VolGroup-lv_home
This CPU appears to support virtualization
bash-4.1# 


View solution in original post

16 REPLIES 16

avatar
Super Collaborator

@Gowdaman G

Can you run the script at metron-deployment/scripts/platform-info.sh and paste the output here?

avatar
Super Collaborator

Quick tip: You can use the 'CODE' in the editing toolbar to make command output look more readable.

avatar
Explorer
Hi,

Please find the script output below

bash-4.1# ./platform-info.sh 
Metron 0.5.1
--
* master
--
commit 6bac842d7ad2819c56412837d8befb603ef15f35 (HEAD -> master, origin/master, origin/HEAD)
Author: ottobackwards <ottobackwards@gmail.com>
Date:   Fri Jul 20 17:44:35 2018 -0400


    METRON-1606 Add a 'wrap' to incoming messages in the metron json parser (ottobackwards) closes apache/metron#1054
--
--
ansible 2.2.2.0
  config file = 
  configured module search path = Default w/o overrides
--
Vagrant 2.1.2
--
vagrant-hostmanager (1.8.9)
--
Python 2.6.6
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
Maven home: /usr/local/maven/apache-maven-3.3.9
Java version: 1.8.0_171, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el6_9.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-754.2.1.el6.x86_64", arch: "amd64", family: "unix"
--
Docker version 1.7.1, build 786b29d/1.7.1
--
node
v0.10.48
--
npm
1.3.6
--
g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


--
Compiler is C++11 compliant
--
Linux localhost.localdomain 2.6.32-754.2.1.el6.x86_64 #1 SMP Fri Jul 13 12:50:12 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 15953 MB
Processor Model: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
Processor Speed: 2399.999 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/mapper/VolGroup-lv_root
/dev/sda1             477M   70M  382M  16% /boot
/dev/mapper/VolGroup-lv_home
This CPU appears to support virtualization
bash-4.1# 


avatar
Super Collaborator

Okay, from the below message it looks like maven is not able to reach the mirror. I think you need to review your maven settings.xml to see if it is in order.

Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.7: Could not transfer artifact org.apache.maven.plugins:maven-site-plugin:pom:3.7 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.12.215] failed: Connection timed out (Connection timed out)

avatar
Explorer

I have added the proxy in settings.xml. Still facing the same error in vagrant provision

<proxy>
      <id>httpproxy</id>
      <active>true</active>
      <protocol>https</protocol>
      <username>proxyuser</username>
      <password>proxypass</password>
      <host>proxy-wsa.abc.com</host>
      <port>80</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
    </proxy>
-------------------------------
TASK [metron-builder : Build Metron] *******************************************
failed: [node1 -> localhost] (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) => {"changed": true, "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack", "delta": "0:00:03.321981", "end": "2018-07-26 14:26:51.292984", "failed": true, "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack", "rc": 1, "start": "2018-07-26 14:26:47.971003", "stderr": "", "stdout": "[INFO] Scanning for projects...\n[INFO] ------------------------------------------------------------------------\n[INFO] Reactor Build Order:\n[INFO] \n[INFO] Metron\n[INFO] metron-stellar\n[INFO] stellar-common\n[INFO] metron-analytics\n[INFO] metron-maas-common\n[INFO] metron-platform\n[INFO] metron-zookeeper\n[INFO] metron-test-utilities\n[INFO] metron-integration-test\n[INFO] metron-maas-service\n[INFO] metron-common\n[INFO] metron-statistics\n[INFO] metron-writer\n[INFO] metron-storm-kafka-override\n[INFO] metron-storm-kafka\n[INFO] metron-hbase\n[INFO] metron-profiler-common\n[INFO] metron-profiler-client\n[INFO] metron-profiler\n[INFO] metron-hbase-client\n[INFO] metron-enrichment\n[INFO] metron-indexing\n[INFO] metron-solr\n[INFO] metron-pcap\n[INFO] metron-parsers\n[INFO] metron-pcap-backend\n[INFO] metron-data-management\n[INFO] metron-api\n[INFO] metron-management\n[INFO] elasticsearch-shaded\n[INFO] metron-elasticsearch\n[INFO] metron-deployment\n[INFO] Elasticsearch Ambari Management Pack\n[INFO] Metron Ambari Management Pack\n[INFO] metron-contrib\n[INFO] metron-docker\n[INFO] metron-performance\n[INFO] metron-interface\n[INFO] metron-config\n[INFO] metron-alerts\n[INFO] metron-rest-client\n[INFO] metron-rest\n[INFO] site-book\n[INFO] 3rd party Functions (just for tests)\n[INFO] stellar-zeppelin\n[INFO] \n[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building Metron 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ Metron ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ Metron ---\n[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/target/jacoco.exec\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ Metron ---\n[INFO] Skipping JaCoCo execution due to missing execution data file.\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-stellar 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-platform 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-analytics 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-deployment 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-contrib 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building site-book 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building metron-interface 0.5.1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---\n[INFO] \n[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---\n[INFO] ------------------------------------------------------------------------\n[INFO] Reactor Summary:\n[INFO] \n[INFO] Metron ............................................. SUCCESS [  0.991 s]\n[INFO] metron-stellar ..................................... SKIPPED\n[INFO] stellar-common ..................................... SKIPPED\n[INFO] metron-analytics ................................... SKIPPED\n[INFO] metron-maas-common ................................. SKIPPED\n[INFO] metron-platform .................................... SKIPPED\n[INFO] metron-zookeeper ................................... SKIPPED\n[INFO] metron-test-utilities .............................. SKIPPED\n[INFO] metron-integration-test ............................ SKIPPED\n[INFO] metron-maas-service ................................ SKIPPED\n[INFO] metron-common ...................................... SKIPPED\n[INFO] metron-statistics .................................. SKIPPED\n[INFO] metron-writer ...................................... SKIPPED\n[INFO] metron-storm-kafka-override ........................ SKIPPED\n[INFO] metron-storm-kafka ................................. SKIPPED\n[INFO] metron-hbase ....................................... SKIPPED\n[INFO] metron-profiler-common ............................. SKIPPED\n[INFO] metron-profiler-client ............................. SKIPPED\n[INFO] metron-profiler .................................... SKIPPED\n[INFO] metron-hbase-client ................................ SKIPPED\n[INFO] metron-enrichment .................................. SKIPPED\n[INFO] metron-indexing .................................... SKIPPED\n[INFO] metron-solr ........................................ SKIPPED\n[INFO] metron-pcap ........................................ SKIPPED\n[INFO] metron-parsers ..................................... SKIPPED\n[INFO] metron-pcap-backend ................................ SKIPPED\n[INFO] metron-data-management ............................. SKIPPED\n[INFO] metron-api ......................................... SKIPPED\n[INFO] metron-management .................................. SKIPPED\n[INFO] elasticsearch-shaded ............................... SKIPPED\n[INFO] metron-elasticsearch ............................... SKIPPED\n[INFO] metron-deployment .................................. SKIPPED\n[INFO] Elasticsearch Ambari Management Pack ............... SKIPPED\n[INFO] Metron Ambari Management Pack ...................... SKIPPED\n[INFO] metron-contrib ..................................... SKIPPED\n[INFO] metron-docker ...................................... SKIPPED\n[INFO] metron-performance ................................. SKIPPED\n[INFO] metron-interface ................................... FAILURE [  0.062 s]\n[INFO] metron-config ...................................... SKIPPED\n[INFO] metron-alerts ...................................... SKIPPED\n[INFO] metron-rest-client ................................. SKIPPED\n[INFO] metron-rest ........................................ SKIPPED\n[INFO] site-book .......................................... SKIPPED\n[INFO] 3rd party Functions (just for tests) ............... SKIPPED\n[INFO] stellar-zeppelin ................................... SKIPPED\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD FAILURE\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time: 1.728 s (Wall Clock)\n[INFO] Finished at: 2018-07-26T14:26:51+05:30\n[INFO] Final Memory: 22M/84M\n[INFO] ------------------------------------------------------------------------\n[ERROR] Failed to execute goal on project metron-interface: Could not resolve dependencies for project org.apache.metron:metron-interface:pom:0.5.1: Could not find artifact sun.jdk:tools:jar:LATEST at specified path /usr/lib/jvm/jdk-10.0.2/../lib/tools.jar -> [Help 1]\n[ERROR] Failed to execute goal on project metron-contrib: Could not resolve dependencies for project org.apache.metron:metron-contrib:pom:0.5.1: Could not find artifact sun.jdk:tools:jar:LATEST at specified path /usr/lib/jvm/jdk-10.0.2/../lib/tools.jar -> [Help 1]\n[ERROR] \n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\n[ERROR] \n[ERROR] For more information about the errors and possible solutions, please read the following articles:\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException\n[ERROR] \n[ERROR] After correcting the problems, you can resume the build with the command\n[ERROR]   mvn <goals> -rf :metron-interface", "stdout_lines": ["[INFO] Scanning for projects...", "[INFO] ------------------------------------------------------------------------", "[INFO] Reactor Build Order:", "[INFO] ", "[INFO] Metron", "[INFO] metron-stellar", "[INFO] stellar-common", "[INFO] metron-analytics", "[INFO] metron-maas-common", "[INFO] metron-platform", "[INFO] metron-zookeeper", "[INFO] metron-test-utilities", "[INFO] metron-integration-test", "[INFO] metron-maas-service", "[INFO] metron-common", "[INFO] metron-statistics", "[INFO] metron-writer", "[INFO] metron-storm-kafka-override", "[INFO] metron-storm-kafka", "[INFO] metron-hbase", "[INFO] metron-profiler-common", "[INFO] metron-profiler-client", "[INFO] metron-profiler", "[INFO] metron-hbase-client", "[INFO] metron-enrichment", "[INFO] metron-indexing", "[INFO] metron-solr", "[INFO] metron-pcap", "[INFO] metron-parsers", "[INFO] metron-pcap-backend", "[INFO] metron-data-management", "[INFO] metron-api", "[INFO] metron-management", "[INFO] elasticsearch-shaded", "[INFO] metron-elasticsearch", "[INFO] metron-deployment", "[INFO] Elasticsearch Ambari Management Pack", "[INFO] Metron Ambari Management Pack", "[INFO] metron-contrib", "[INFO] metron-docker", "[INFO] metron-performance", "[INFO] metron-interface", "[INFO] metron-config", "[INFO] metron-alerts", "[INFO] metron-rest-client", "[INFO] metron-rest", "[INFO] site-book", "[INFO] 3rd party Functions (just for tests)", "[INFO] stellar-zeppelin", "[INFO] ", "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building Metron 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ Metron ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ Metron ---", "[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/metron/target/jacoco.exec", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ Metron ---", "[INFO] Skipping JaCoCo execution due to missing execution data file.", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-stellar 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-platform 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-analytics 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-deployment 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-contrib 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building site-book 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO]                                                                         ", "[INFO] ------------------------------------------------------------------------", "[INFO] Building metron-interface 0.5.1", "[INFO] ------------------------------------------------------------------------", "[INFO] ", "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---", "[INFO] ", "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---", "[INFO] ------------------------------------------------------------------------", "[INFO] Reactor Summary:", "[INFO] ", "[INFO] Metron ............................................. SUCCESS [  0.991 s]", "[INFO] metron-stellar ..................................... SKIPPED", "[INFO] stellar-common ..................................... SKIPPED", "[INFO] metron-analytics ................................... SKIPPED", "[INFO] metron-maas-common ................................. SKIPPED", "[INFO] metron-platform .................................... SKIPPED", "[INFO] metron-zookeeper ................................... SKIPPED", "[INFO] metron-test-utilities .............................. SKIPPED", "[INFO] metron-integration-test ............................ SKIPPED", "[INFO] metron-maas-service ................................ SKIPPED", "[INFO] metron-common ...................................... SKIPPED", "[INFO] metron-statistics .................................. SKIPPED", "[INFO] metron-writer ...................................... SKIPPED", "[INFO] metron-storm-kafka-override ........................ SKIPPED", "[INFO] metron-storm-kafka ................................. SKIPPED", "[INFO] metron-hbase ....................................... SKIPPED", "[INFO] metron-profiler-common ............................. SKIPPED", "[INFO] metron-profiler-client ............................. SKIPPED", "[INFO] metron-profiler .................................... SKIPPED", "[INFO] metron-hbase-client ................................ SKIPPED", "[INFO] metron-enrichment .................................. SKIPPED", "[INFO] metron-indexing .................................... SKIPPED", "[INFO] metron-solr ........................................ SKIPPED", "[INFO] metron-pcap ........................................ SKIPPED", "[INFO] metron-parsers ..................................... SKIPPED", "[INFO] metron-pcap-backend ................................ SKIPPED", "[INFO] metron-data-management ............................. SKIPPED", "[INFO] metron-api ......................................... SKIPPED", "[INFO] metron-management .................................. SKIPPED", "[INFO] elasticsearch-shaded ............................... SKIPPED", "[INFO] metron-elasticsearch ............................... SKIPPED", "[INFO] metron-deployment .................................. SKIPPED", "[INFO] Elasticsearch Ambari Management Pack ............... SKIPPED", "[INFO] Metron Ambari Management Pack ...................... SKIPPED", "[INFO] metron-contrib ..................................... SKIPPED", "[INFO] metron-docker ...................................... SKIPPED", "[INFO] metron-performance ................................. SKIPPED", "[INFO] metron-interface ................................... FAILURE [  0.062 s]", "[INFO] metron-config ...................................... SKIPPED", "[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: 1.728 s (Wall Clock)", "[INFO] Finished at: 2018-07-26T14:26:51+05:30", "[INFO] Final Memory: 22M/84M", "[INFO] ------------------------------------------------------------------------", "[ERROR] Failed to execute goal on project metron-interface: Could not resolve dependencies for project org.apache.metron:metron-interface:pom:0.5.1: Could not find artifact sun.jdk:tools:jar:LATEST at specified path /usr/lib/jvm/jdk-10.0.2/../lib/tools.jar -> [Help 1]", "[ERROR] Failed to execute goal on project metron-contrib: Could not resolve dependencies for project org.apache.metron:metron-contrib:pom:0.5.1: Could not find artifact sun.jdk:tools:jar:LATEST at specified path /usr/lib/jvm/jdk-10.0.2/../lib/tools.jar -> [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/DependencyResolutionException", "[ERROR] ", "[ERROR] After correcting the problems, you can resume the build with the command", "[ERROR]   mvn <goals> -rf :metron-interface"], "warnings": []}


NO MORE HOSTS LEFT *************************************************************
	to retry, use: --limit @/metron/metron-deployment/development/centos6/ansible/playbook.retry


PLAY RECAP *********************************************************************
node1                      : ok=7    changed=2    unreachable=0    failed=1   


Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.




avatar
Super Collaborator

I noticed that your node and NPM versions are pretty old. Can you upgrade to latest?

Here are my versions:

node
v10.6.0
--
npm
6.1.0
--

avatar
Explorer

Even after upgrading NPM and node to latest version facing the same issue in vagrant provision.

bash-4.1# node --version

v10.7.0

bash-4.1# npm --version

6.2.0

bash-4.1#

avatar
Explorer

I just want to know whether the basic setup is correct or not. I have installed Metron on CentOS 6.5 which is installed as VM in Vmware 6.0.

I have followed the below link for Metron setup

https://github.com/apache/metron/tree/master/metron-deployment/development/centos6

Please let me know or share the step-by-step procedure to deploy Metron on CentOS VM.

avatar
Explorer

Could you please help on this issue.