[
https://issues.apache.org/jira/browse/METRON-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899400#comment-15899400
]
ASF GitHub Bot commented on METRON-671:
---------------------------------------
Github user justinleet commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/436#discussion_r104661243
--- Diff: metron-deployment/roles/quick_dev/tasks/main.yml ---
@@ -15,23 +15,50 @@
# limitations under the License.
#
---
-#
-# Workaround for Kafka not starting
-# Fire off async start followed by
-# Sync start -execution will pause until
-# final start completes.
-#
-- name: Start the ambari cluster - no wait
- ambari_cluster_state:
+- name: Delete the Metron Components from Ambari
+ ambari_service_state:
host: "{{ groups.ambari_master[0] }}"
port: "{{ ambari_port }}"
username: "{{ ambari_user }}"
password: "{{ ambari_password }}"
cluster_name: "{{ cluster_name }}"
- cluster_state: started
- wait_for_complete: False
+ state: deleted
+ component_name: "{{ item }}"
+ component_host: "{{ inventory_hostname }}"
+ with_items:
+ - METRON_ENRICHMENT_MASTER
+ - METRON_INDEXING
+ - METRON_PARSERS
+
+- name: Remove the Metron packages
+ package:
+ name: "{{ item }}"
+ state: absent
+ with_items:
+ - metron-common
+ - metron-data-management
+ - metron-parsers
+ - metron-enrichment
+ - metron-indexing
+ - metron-elasticsearch
+
+- name: Re-install the Metron Packages via Ambari
--- End diff --
Do we have any issues with the configured files still existing after this?
I know RPMs don't like to touch files they didn't explicitly create, so I'm a
little worried they still exist here.
I know guards were added (the `if(is_*_configured` earlier), but just want
to call it out.
> Refactor existing Ansible deployment to use Ambari MPack
> --------------------------------------------------------
>
> Key: METRON-671
> URL: https://issues.apache.org/jira/browse/METRON-671
> Project: Metron
> Issue Type: Bug
> Reporter: David M. Lyle
> Assignee: David M. Lyle
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)