Github user anandsubbu commented on the issue:

    https://github.com/apache/metron/pull/904
  
    +1 works fine @mmiklavc .
    
    Verified on CentOS 7 multinode cluster. Simulated the problem first and 
then ran with the fix.
    
    Here is a sample output with the fix in place.
    
    ```
    2018-01-24 14:17:58,928 - Running Elastic search service check against 
metron-12.openstacklocal:9200
    2018-01-24 14:17:58,929 - Checking cluster health
    2018-01-24 14:17:58,929 - Execute['curl -sS -XGET 
'http://metron-12.openstacklocal:9200/_cluster/health?wait_for_status=green&timeout=120s'
 | grep '"status":"green"''] {'logoutput': True, 'tries': 5, 'try_sleep': 10}
    
{"cluster_name":"metron","status":"green","timed_out":false,"number_of_nodes":12,"number_of_data_nodes":11,"active_primary_shards":16,"active_shards":32,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}
    2018-01-24 14:17:58,967 - Elasticsearch service check successful
    
    Command completed successfully!
    
    ```


---

Reply via email to