cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Nilsen (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8313) cassandra-stress: No way to pass in data center hint for DCAwareRoundRobinPolicy
Date Sat, 15 Nov 2014 03:30:33 GMT


Bob Nilsen commented on CASSANDRA-8313:

You guys were right, it works just fine.

>From the way the help text is written, I thought that it was supposed to be used like

-node host1,host2

instead of:

-node whitelist host1,host2

[whitelist] looked like <whitelist> to me, if you get my meaning.

I wonder how many other people get confused by the non-conventional command line options for

Anyway, thanks a lot, sorry for the confusion, you can close this as "not a bug".

> cassandra-stress: No way to pass in data center hint for DCAwareRoundRobinPolicy
> --------------------------------------------------------------------------------
>                 Key: CASSANDRA-8313
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Bob Nilsen
>            Assignee: T Jake Luciani
> When using cassandra-stress in a multiple datacenter configuration, we need to be able
to behave like the applications do and send traffic to nodes co-located in the same data center.
> I can't for the life of me figure out how to pass in such a hint into the new cassandra-stress.
> And passing in a local node into "-node" doesn't help.  Apparently, cassandra-stress
will *guess* the data center based on the order of the list that it receives from the cluster.
> In my case, it seems to always pick 'DC2', no matter what I do.
> INFO  22:17:06 Using data-center name 'DC2' for DCAwareRoundRobinPolicy (if this is incorrect,
please provide the correct datacenter name with DCAwareRoundRobinPolicy constructor)
> Could someone please add the ability to configure the DCAwareRoundRobinPolicy with a
data center hint?

This message was sent by Atlassian JIRA

View raw message