[ 
https://issues.apache.org/jira/browse/GORA-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598022#comment-13598022
 ] 

Roland von Herget commented on GORA-215:
----------------------------------------

Yes, and I have to admit, I have no clue :/
So, I patched my initialize() method with my config options. (really bad 
coding...)
                
> expose Hector's CassandraHostConfigurator possibilities 
> --------------------------------------------------------
>
>                 Key: GORA-215
>                 URL: https://issues.apache.org/jira/browse/GORA-215
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: storage-cassandra
>            Reporter: Roland von Herget
>            Priority: Minor
>
> There are a lot of tuning possibilities inside CassandraHostConfigurator, 
> lets use them ;)
> e.g.:
> cassandraHostConfigurator.setRunAutoDiscoveryAtStartup(true);
> cassandraHostConfigurator.setAutoDiscoverHosts(true);
> cassandraHostConfigurator.setHosts(this.cassandraMapping.getHostName()); // 
> can hold more than one IP
> cassandraHostConfigurator.setLoadBalancingPolicy(new 
> LeastActiveBalancingPolicy()); // new DynamicLoadBalancingPolicy
> [extracted from my hand crafted "config" inside CassandraClient]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to