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.

Metron Ansible deployment failure in metron_pcapservice

Solved Go to solution

Metron Ansible deployment failure in metron_pcapservice

Rising Star

TASK [metron_pcapservice : Check for hbase-site] ******************************* ok: [node1]

TASK [metron_pcapservice : include] ******************************************** skipping: [node1]

TASK [metron_pcapservice : include] ******************************************** included: /Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/metron_pcapservice/tasks/pcapservice.yml for node1

TASK [metron_pcapservice : Create Metron streaming directories] **************** ok: [node1] => (item={u'name': u'lib'}) ok: [node1] => (item={u'name': u'config'})

TASK [metron_pcapservice : Copy Metron pcapservice jar] ************************ fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "could not find src=/Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/metron-streaming/Metron-Pcap_Service/target/Metron-Pcap_Service-0.1BETA-jar-with-dependencies.jar"} PLAY RECAP ********************************************************************* node1 : ok=262 changed=140 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Metron Ansible deployment failure in metron_pcapservice

Super Guru
@nbalaji-elangovan

Looks like ansible playbook is failing because it could not find "/Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/metron-streaming/Metron-Pcap_Service/target/Metron-Pcap_Service-0.1BETA-jar-with-dependencies.jar"

Can you please double check if this jar file is there with the required permissions?

3 REPLIES 3

Re: Metron Ansible deployment failure in metron_pcapservice

Super Guru
@nbalaji-elangovan

Looks like ansible playbook is failing because it could not find "/Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/metron-streaming/Metron-Pcap_Service/target/Metron-Pcap_Service-0.1BETA-jar-with-dependencies.jar"

Can you please double check if this jar file is there with the required permissions?

Re: Metron Ansible deployment failure in metron_pcapservice

Rising Star

@nbalaji-elangovan. This error would indicate that you might not have built all the projects via maven, Can you make sure you ran mvn package -DskipTests from the incubator-metron-Metron_0.1BETA_rc7/metron-streaming directory.

Re: Metron Ansible deployment failure in metron_pcapservice

New Contributor

What are the maven commands that need to be run before vagrant up, I use mvn clean compile -DskipTests in the top metron directory

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