metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyle65535 <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #436: METRON-671: Refactor existing Ansible de...
Date Tue, 07 Mar 2017 13:41:44 GMT
Github user dlyle65535 commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/436#discussion_r104667214
  
    --- 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 --
    
    No, I want them to exist there and they do. It simulates the old run_enrichment_role task
by re-installing the Metron rpms and reloads configs, but leaves everything else alone.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message