GitHub user jjonez opened a pull request:

    https://github.com/apache/incubator-metron/pull/116

    Metron 146 topology workers

    This allows you to configure the number of workers in the enrichment 
topology. The variable name is pretty long, for the sake of being verbose 
(storm.topology.enrichment.workers, or in Ansible it is 
storm_topology_enrichment_workers). 
    
    I tested this using the vagrant/quick-dev-platform image. After starting, I 
ran the ./run_enrichment_role.sh script to start the enrichment topology. I 
verified that the file has the configured value and the topology started 
correctly. You can see in the ansible output that it tried to replaced the 
variable here but the default value is the same since as the original value. I 
can only run this on my laptop:
    '''
    TASK [metron_streaming : Configure Metron Solr topology] 
***********************
    <!--- SNIP -->
    ok: [node1] => (item={u'regexp': u'storm.topology.enrichment.workers=', 
u'line': u'storm.topology.enrichment.workers=1'})
    '''
    
    If someone could test changing the value on a real cluster that would be 
great. I don't have the hardware for it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jjonez/incubator-metron 
METRON-146_topology_workers

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/116.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #116
    
----
commit 0e3f59b7a12322f491f72f99d019323d5443cddd
Author: Jim Jones <[email protected]>
Date:   2016-05-09T21:38:41Z

    initial stuff

commit 0153e35cbb23a097cea110d66aff4501d29329c1
Author: Jim Jones <[email protected]>
Date:   2016-05-11T01:05:25Z

    flux...workers=int, not string; Also, ansible defaults undefined variable.

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to