cqlsh doesn't make response in LCS setting

2016-07-18 Thread Yuji Ito
Hi all,

I have a question.
I use Cassandra 2.2.6.

Why does cqlsh sometimes make no response in LCS setting for compaction?

I requested as below:
  cqlsh -e "create index new_index on keyspace.table (sub_column);"

When this problem happened, Cassandra process used 100% CPU
and debug.log was filled by "Choosing candidates for L0".
This problem hasn't occurred in STCS setting.

Thanks,
Yuji Ito


Re : Recommended procedure for enabling SSL on a live production cluster

2016-07-18 Thread sai krishnam raju potturi
Hi;
  We have a Cassandra cluster ( version 2.0.14 ) spanning across 4
datacenters with 50 nodes each. We are planning to enable SSL between the
datacenters. We are following the standard procedure for enabling SSL (
http://thelastpickle.com/blog/2015/09/30/hardening-cassandra-step-by-step-part-1-server-to-server.html)
. We were planning to enable SSL for each datacenter at a time.

During the rolling restart, it's expected that the nodes in the
datacenter that had the service restarted, will show as down by the nodes
in other datacenters that have not restarted the service. This would lead
to missed writes among various nodes during this procedure.

What would be the recommended procedure for enabling SSL on a live
production cluster without the chaos.

thanks
Sai


Re: Cassandra discussion channel on Slack!

2016-07-18 Thread Eric Evans
On Fri, Jul 15, 2016 at 10:11 AM, denish patel  wrote:
> Hello,
>
> I have started Slack channel to discuss Cassandra.
>
> The purpose of this channel to use existing slack platform to get connected
> to like minded Cassandra people.  You can sign up using
> https://cassandra-slack.herokuapp.com/
>
> Looking forward to talk to you on Slack!

Please don't do this; We already have an (active) IRC channel on
Freenode, #cassandra (http://freenode.net/).

-- 
Eric Evans
john.eric.ev...@gmail.com


Re: (C)* stable version after 3.5

2016-07-18 Thread Riccardo Ferrari
Check the "Compatibility" section of the Cassandra Java driver.

Since the driver is backward compatible when we did upgraded we first
upgrade our applications to the latest java driver version then we upgraded
our C* cluster.

best,

On Mon, Jul 18, 2016 at 9:06 AM, Varun Barala 
wrote:

> Thanks everyone for your detailed explanation!!
>
> We are going to upgrade from 2.1 to 3.0.8 as many people agreed that It's
> safe skipping measure version 2.2.
>
> Could anyone please tell me which *cassandra java driver* will be
> compatible with 3.0.8 ?
> Currently we are using *2.1.7.1 driver version* So If we upgrade to newer
> version then will there be any backward-compatibility issues ?
>
> Thanking You!!
>
> On Thu, Jul 14, 2016 at 6:04 PM, Romain Hardouin 
> wrote:
>
>> DSE 4.8 uses C* 2.1 and DSE 5.0 uses C* 3.0. So I would say that
>> 2.1->3.0 is more tested by DataStax than 2.2->3.0.
>>
>>
>> Le Jeudi 14 juillet 2016 11h37, Stefano Ortolani  a
>> écrit :
>>
>>
>> FWIW, I've recently upgraded from 2.1 to 3.0 without issues of any sort,
>> but admittedly I haven't been using anything too fancy.
>>
>> Cheers,
>> Stefano
>>
>> On Wed, Jul 13, 2016 at 10:28 PM, Alain RODRIGUEZ 
>> wrote:
>>
>> Hi Anuj
>>
>> From
>> https://docs.datastax.com/en/latest-upgrade/upgrade/cassandra/upgrdBestPractCassandra.html
>> :
>>
>>
>>- Employ a continual upgrade strategy for each year. Upgrades are
>>impacted by the version you are upgrading from and the version you are
>>upgrading to. The greater the gap between the current version and the
>>target version, the more complex the upgrade.
>>
>>
>> And I could not find it but historically I am quite sure it was
>> explicitly recommended not to skip a major update (for a rolling upgrade),
>> even if I could not find it. Anyway it is clear that the bigger the gap is,
>> the more careful we need to be.
>>
>> On the other hand, I see 2.2 as a 2.1 + some feature but no real breaking
>> changes (as 3.0 was already on the pipe) and doing a 2.2 was decided
>> because 3.0 was taking a long time to be released and some feature were
>> ready for a while.
>>
>> I might be wrong on some stuff above, but one can only speak with his
>> knowledge and from his point of view. So I ended up saying:
>>
>> Also I am not sure if the 2.2 major version is something you can skip
>> while upgrading through a rolling restart. I believe you can, but it is not
>> what is recommended.
>>
>>
>> Note that "I am not sure", "I believe you can"... So it was more a
>> thought, something to explore for Varun :-).
>>
>> And I actually encouraged him to move forward. Now that Tyler Hobbs
>> confirmed it works, you can put a lot more trust on the fact that this
>> upgrade will work :-). I would still encourage people to test it (for
>> client compatibility, corner cases due to models, ...).
>>
>> I hope I am more clear now,
>>
>> C*heers,
>> ---
>> Alain Rodriguez - al...@thelastpickle.com
>> France
>>
>> The Last Pickle - Apache Cassandra Consulting
>> http://www.thelastpickle.com
>>
>> 2016-07-13 18:39 GMT+02:00 Tyler Hobbs :
>>
>>
>> On Wed, Jul 13, 2016 at 11:32 AM, Anuj Wadehra 
>> wrote:
>>
>> Why do you think that skipping 2.2 is not recommended when NEWS.txt
>> suggests otherwise? Can you elaborate?
>>
>>
>> We test upgrading from 2.1 -> 3.x and upgrading from 2.2 -> 3.x
>> equivalently.  There should not be a difference in terms of how well the
>> upgrade is supported.
>>
>>
>> --
>> Tyler Hobbs
>> DataStax 
>>
>>
>>
>>
>>
>>
>


Re: (C)* stable version after 3.5

2016-07-18 Thread Varun Barala
Thanks everyone for your detailed explanation!!

We are going to upgrade from 2.1 to 3.0.8 as many people agreed that It's
safe skipping measure version 2.2.

Could anyone please tell me which *cassandra java driver* will be
compatible with 3.0.8 ?
Currently we are using *2.1.7.1 driver version* So If we upgrade to newer
version then will there be any backward-compatibility issues ?

Thanking You!!

On Thu, Jul 14, 2016 at 6:04 PM, Romain Hardouin 
wrote:

> DSE 4.8 uses C* 2.1 and DSE 5.0 uses C* 3.0. So I would say that 2.1->3.0
> is more tested by DataStax than 2.2->3.0.
>
>
> Le Jeudi 14 juillet 2016 11h37, Stefano Ortolani  a
> écrit :
>
>
> FWIW, I've recently upgraded from 2.1 to 3.0 without issues of any sort,
> but admittedly I haven't been using anything too fancy.
>
> Cheers,
> Stefano
>
> On Wed, Jul 13, 2016 at 10:28 PM, Alain RODRIGUEZ 
> wrote:
>
> Hi Anuj
>
> From
> https://docs.datastax.com/en/latest-upgrade/upgrade/cassandra/upgrdBestPractCassandra.html
> :
>
>
>- Employ a continual upgrade strategy for each year. Upgrades are
>impacted by the version you are upgrading from and the version you are
>upgrading to. The greater the gap between the current version and the
>target version, the more complex the upgrade.
>
>
> And I could not find it but historically I am quite sure it was explicitly
> recommended not to skip a major update (for a rolling upgrade), even if I
> could not find it. Anyway it is clear that the bigger the gap is, the more
> careful we need to be.
>
> On the other hand, I see 2.2 as a 2.1 + some feature but no real breaking
> changes (as 3.0 was already on the pipe) and doing a 2.2 was decided
> because 3.0 was taking a long time to be released and some feature were
> ready for a while.
>
> I might be wrong on some stuff above, but one can only speak with his
> knowledge and from his point of view. So I ended up saying:
>
> Also I am not sure if the 2.2 major version is something you can skip
> while upgrading through a rolling restart. I believe you can, but it is not
> what is recommended.
>
>
> Note that "I am not sure", "I believe you can"... So it was more a
> thought, something to explore for Varun :-).
>
> And I actually encouraged him to move forward. Now that Tyler Hobbs
> confirmed it works, you can put a lot more trust on the fact that this
> upgrade will work :-). I would still encourage people to test it (for
> client compatibility, corner cases due to models, ...).
>
> I hope I am more clear now,
>
> C*heers,
> ---
> Alain Rodriguez - al...@thelastpickle.com
> France
>
> The Last Pickle - Apache Cassandra Consulting
> http://www.thelastpickle.com
>
> 2016-07-13 18:39 GMT+02:00 Tyler Hobbs :
>
>
> On Wed, Jul 13, 2016 at 11:32 AM, Anuj Wadehra 
> wrote:
>
> Why do you think that skipping 2.2 is not recommended when NEWS.txt
> suggests otherwise? Can you elaborate?
>
>
> We test upgrading from 2.1 -> 3.x and upgrading from 2.2 -> 3.x
> equivalently.  There should not be a difference in terms of how well the
> upgrade is supported.
>
>
> --
> Tyler Hobbs
> DataStax 
>
>
>
>
>
>