metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From justinleet <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #222: METRON-385 Create Ambari Service Definit...
Date Tue, 23 Aug 2016 13:45:03 GMT
Github user justinleet commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/222#discussion_r75867968
  
    --- Diff: metron-platform/metron-elasticsearch/src/main/config/elasticsearch.properties
---
    @@ -57,10 +57,13 @@ org.apache.metron.metrics.TelemetryParserBolt.fails=true
     
     bolt.hdfs.batch.size=5000
     bolt.hdfs.field.delimiter=|
    +bolt.hdfs.rotation.policy=org.apache.storm.hdfs.bolt.rotation.TimedRotationPolicy
    +bolt.hdfs.rotation.policy.units=DAYS
    +bolt.hdfs.rotation.policy.count=1
    +
     bolt.hdfs.file.rotation.size.in.mb=5
    --- End diff --
    
    Those lines are actually added by Ansible in the original path (topologies.yml).  They
don't exist with any properties in elasticsearch.properties (which gets bundled up as part
of the RPM build).  Because the properties don't exist, the topology will fail.
    
    I just used what Ansible defined as the configs, but they're easy to change if we want
to (or if there's some difference between environments I missed).
    
    Otherwise if we want to leave them out of elasticsearch.properties, we'll probably want
to do something a little more clever (e.g. make elasticsearch.properties a config file handled
through Ambari and use that instead of what the RPM has).  I'm unsure if that file gets used
in other manners in other deploys, so I was hesitant to make that change.


---
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