Re: Cassandra Splitting databases

2019-01-05 Thread R1 J1
Dor Laor,
I like your approach. If I restrict the replication factor of a keyspace to
on premise  data center and another to azure and attempt to split the
cluster?
Do you have some documentation I can refer to ?

Regards
R1J1

On Fri, Jan 4, 2019 at 5:32 PM Dor Laor  wrote:

> Not sure I understand correctly but if you have one cluster with 2
> separate datacenters
> you can define keyspace A to be on premise with a single DC and keyspace B
> only on Azure.
>
>
> On Fri, Jan 4, 2019 at 2:23 PM R1 J1  wrote:
>
>> We currently  have  2 databases (A and B ) on a 6 node cluster.
>> 3 nodes are on premise and 3 in azure.   I want  database A to live on
>> onpremise cluster and  I want Database B to stay in the Azure.  I want to
>> then split the cluster into 2 clusters one onpremise (3 node )  having
>> Database A and other in Azure (3 node ) having Database B.
>>
>> How do we accomplish such a split ?
>>
>>
>> Regards
>> R1J1
>>
>


Cassandra Splitting databases

2019-01-04 Thread R1 J1
We currently  have  2 databases (A and B ) on a 6 node cluster.
3 nodes are on premise and 3 in azure.   I want  database A to live on
onpremise cluster and  I want Database B to stay in the Azure.  I want to
then split the cluster into 2 clusters one onpremise (3 node )  having
Database A and other in Azure (3 node ) having Database B.

How do we accomplish such a split ?


Regards
R1J1


Re: How to downloading Cassandra 3.11.0 and 3.11.2 binaries for ubuntu

2018-08-04 Thread R1 J1
 Kyrylo  Lebediev  ,

This worked thanks  :-)

wget
http://dl.bintray.com/apache/cassandra/pool/main/c/cassandra/cassandra_3.11.2_all.deb


sudo dpkg -i cassandra_3.11.2_all.deb

R1J1

On Sat, Aug 4, 2018 at 12:19 PM, Kyrylo Lebediev <
kyrylo_lebed...@epam.com.invalid> wrote:

> Go to: http://dl.bintray.com/apache/cassandra/pool/main/c/cassandra/
> download deb packages for the versions you need and install them by dpkg.
>
> Regards,
> Kyrill
> ------
> *From:* R1 J1 
> *Sent:* Saturday, August 4, 2018 4:56:56 PM
> *To:* user@cassandra.apache.org
> *Subject:* How to downloading Cassandra 3.11.0 and 3.11.2 binaries for
> ubuntu
>
> What are the steps to download the  Cassandra 3.11.0 and 3.11.2 binaries
> for ubuntu ?
>
> If we follow the steps below they give 3.11.3 binaries but need slightly
> older
>
> http://cassandra.apache.org/download/
>
> echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo
> tee -a /etc/apt/sources.list.d/cassandra.sources.list
>
>
>
> curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
>
>
>
> sudo apt-get update
>
>
>
> sudo apt-get install cassandra
>
>
> Regards
> R1J1
>


Apache Cassandra 3.11.3 Question

2018-08-04 Thread R1 J1
Can a cluster having 3.11.0 node(s) accept a 3.11.3 node as a new node
for  eventual
migration  and  decom of  older 3.11.0 nodes ?

Can a cluster having  3.11.2(s) node accept a 3.11.3 node as a new node
for   eventual migration and decom of  older 3.11.2 nodes ?


Regards
R1J1


How to downloading Cassandra 3.11.0 and 3.11.2 binaries for ubuntu

2018-08-04 Thread R1 J1
What are the steps to download the  Cassandra 3.11.0 and 3.11.2 binaries
for ubuntu ?

If we follow the steps below they give 3.11.3 binaries but need slightly
older

http://cassandra.apache.org/download/

echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo tee
-a /etc/apt/sources.list.d/cassandra.sources.list



curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -



sudo apt-get update



sudo apt-get install cassandra


Regards
R1J1


Re: optimization to cassandra-env.sh

2018-07-31 Thread R1 J1
Thank  you Sean and Rahul for the consult

On Sun, Jul 29, 2018 at 6:52 PM, Rahul Singh 
wrote:

> Depends on which GC you are using but you can definitely manage GC - but
> you will always be stuck to the upper limit of memory.
>
> I found the Hubspot gc visualizer and the associated blog post very
> helpful in the past.
>
> *https://github.com/HubSpot/gc_log_visualizer/blob/master/README.md*
> <https://github.com/HubSpot/gc_log_visualizer/blob/master/README.md>
>
>
>
> *https://product.hubspot.com/blog/g1gc-fundamentals-lessons-from-taming-garbage-collection*
> <https://product.hubspot.com/blog/g1gc-fundamentals-lessons-from-taming-garbage-collection>
>
> Rahul
> On Jul 26, 2018, 1:27 PM -0400, R1 J1 , wrote:
>
> Any one has tried to optimize or change cassandra-env.sh in an server
> installation to make it use more heap size for garbage collection ?
> Any ideas ? We are having some oom issues and thinking if we have options
> other than increasing RAM for that node.
>
> Regards
>
>


optimization to cassandra-env.sh

2018-07-26 Thread R1 J1
Any one has tried to optimize or change cassandra-env.sh in an server
installation to make it use more heap size for garbage collection ?
Any ideas ? We are having some oom issues and thinking if we have options
other than increasing RAM for that node.

Regards


Re: cassandro nodes restarts

2018-07-26 Thread R1 J1
Thanks for your prompt replies. No the same node is not bouncing over. When
you say it is about to tip over: What can we do to stop that ?

Also about that error : you guys are correct: it is  a warning and might
not be contributing to the node bounce issue and it can be removed by
changing batch_size_warn_threshold_in_kb: 5

R1J1

On Wed, Jul 25, 2018 at 10:32 PM, R1 J1  wrote:

> cassandro nodes restarts
>
>
>
> we see errors typically like these
>
>
> WARN  [Native-Transport-Requests-3] 2018-07-25 20:51:38,520
> BatchStatement.java:301 - Batch for "keyspace.table"
>  is of size 19.386KiB, exceeding specified threshold of 5.000KiB by
> 14.386KiB.
>
>
> Regards
> R1J1
>


cassandro nodes restarts

2018-07-25 Thread R1 J1
cassandro nodes restarts



we see errors typically like these


WARN  [Native-Transport-Requests-3] 2018-07-25 20:51:38,520
BatchStatement.java:301 - Batch for "keyspace.table"
 is of size 19.386KiB, exceeding specified threshold of 5.000KiB by
14.386KiB.


Regards
R1J1


test email

2018-07-25 Thread R1 J1