You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by HeartSaVioR <gi...@git.apache.org> on 2016/11/30 06:24:14 UTC

[GitHub] storm pull request #1801: STORM-2220 Added passing cassandra config to indiv...

Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1801#discussion_r90175075
  
    --- Diff: external/storm-cassandra/src/main/java/org/apache/storm/cassandra/bolt/BaseCassandraBolt.java ---
    @@ -91,8 +93,12 @@ public BaseCassandraBolt(CQLStatementTupleMapper tupleMapper) {
         public void prepare(Map stormConfig, TopologyContext topologyContext, OutputCollector outputCollector) {
             this.outputCollector = outputCollector;
             this.stormConfig = stormConfig;
    -        this.cassandraConfConfig = new CassandraConf(stormConfig);
    -        this.client = clientProvider.getClient(this.stormConfig);
    +
    +        Map<String, Object> cassandraClientConfig = cassandraConfig != null ? stormConfig : stormConfig;
    --- End diff --
    
    This always pick stormConfig which seems not intended.


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