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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to