Re: Cassandra Summit 2019 / Cassandra Summit 2018

2018-05-03 Thread Horia Mocioi
Hello, Are there any updates on this event? Regards, Horia On tis, 2018-02-27 at 11:42 +, Carlos Rolo wrote: Hello all, I'm interested planning/organizing a small kinda of NGCC in Lisbon, Portugal in late May early June. Just waiting for the venue to confirm possible dates. Would be a 1da

Re: Log application Queries

2018-05-28 Thread Horia Mocioi
Hello, Another way to do it would be to create your own QueryHandler: * create a class that would implement the QueryHandler interface and make Cassandra aware of it * in that class you can maintain a list of the queries (add to this list when prepare method is being called) and the cur

Re: System auth empty, how to populate it

2018-07-17 Thread Horia Mocioi
Hello, Those tables are empty by default, except system_auth.roles table which contains one entry(by default): the cassandra user/role. CassandraRoleManager creates it on startup if it does not exist. Those tables will be populated once you start adding new users/roles and use authorization. Wha

Re: System auth empty, how to populate it

2018-07-17 Thread Horia Mocioi
asswordAuthenticator, I’m not able to authenticate, > cassandra user doesn’t exist… > > Is there a way to insert the default user in the roles table ? > > Yes the folder were recreated but without any data in the tables. > I didn’t see any error in the logs. > > >

Re: System auth empty, how to populate it

2018-07-17 Thread Horia Mocioi
27;: > AuthenticationFailed('Failed to authenticate to 127.0.0.1: Error from > server: code=0100 [Bad credentials] message="Provided username > cassandra and/or password are incorrect"',)}) > > Maybe it requires other records in the other tables ? > > Than

Re: System auth empty, how to populate it

2018-07-17 Thread Horia Mocioi
NA OSCARSSON > > Software Developer > > > > Ericsson > > Ölandsgatan 1 > > 37133 Karlskrona, Sweden > > simon.fontana.oscars...@ericsson.com > > www.ericsson.com > > > > On tis, 2018-07-17 at 14:37 +0200, Thomas Lété wrote: > &

Re: System auth empty, how to populate it

2018-07-17 Thread Horia Mocioi
ta directory? > > -- > SIMON FONTANA OSCARSSON > Software Developer > > Ericsson > Ölandsgatan 1 > 37133 Karlskrona, Sweden > simon.fontana.oscars...@ericsson.com<mailto:simon.fontana.oscars...@ericsson.com> > www.ericsson.com<http://www.ericsson.com/> &g

Re: System auth empty, how to populate it

2018-07-17 Thread Horia Mocioi
as generated by OpsCenter when it was free, I just > updated it for Cassandra >= 3… Maybe you will see something : > > https://gist.github.com/bistory/ececc0bef7627f39a21e4e8f0c8d841c > > > Le 18 juil. 2018 à 00:28, Horia Mocioi > > a écrit : > > > > Cassandra

Re: Work in Progress - Awesome Cassandra Resources w/ Outline

2018-08-09 Thread Horia Mocioi
Hello Rahul, Great compilation of resources. Maybe add this one on the Blogs category? https://lostechies.com/ryansv ihla/tags This one is also quite good, I would say https://academy.datastax.com/s upport-blog/deeper-dive-diagnosing-dse-performance-issues-ttop-and- multidump And since now ther

Re: difference between CompletedTasks and TotalComactionCompleted

2018-08-10 Thread Horia Mocioi
Hello, There has been a similar thread a few months back. https://lists.apache.org/thread.html/2cad65aba4fb035378591ef007ee68ccaf23a2c025aaaf7e7512d364@%3Cuser.cassandra.apache.org%3E On fre, 2018-08-10 at 14:18 +0200, Dionne Cloudoupoulos wrote: Hello! I'm trying to monitor cassandra through jm

Re: Setting up rerouting java/python driver read requests from unresponsive nodes to good ones

2018-08-15 Thread Horia Mocioi
Hello, I believe that this is what you are looking for - https://docs.datastax.com/en/developer/java-driver/3.5/manual/retries/ In particular, tryNextHost()

Re: Nodetool info for heap usage

2018-10-23 Thread Horia Mocioi
Hello, I aggre with Anup, nodetool is adding some overhead. You could use dstat or sjk ttop. See below some link to get started: https://tobert.github.io/pages/als-cassandra-21-tuning-guide.html https://academy.datastax.com/support-blog/deeper-dive-diagnosing-dse-performance-issues-ttop-and-mult

Re: nodetool status and node maintenance

2018-10-29 Thread Horia Mocioi
Hello, Instead of parsing the output from nodetool (running nodetool is quite intensive) maybe you could have a java program that would monitor via JMX (org.apache.cassandra.net.FailureDetector). You have less burden compared to running periodically nodetool and more control on the things that

Re: Question about allocate_tokens_for_keyspace

2019-01-28 Thread Horia Mocioi
Hello, When configuring this option, the replication strategy of that keyspace will be used to optimize token selection, so this is useful when you have a single keyspace across the cluster or the same replication strategy for all keyspaces. Also, is worth noting that the option is available for

Re: Nodetool Authentication

2017-10-06 Thread Horia Mocioi
Which exactly "read access" are you refering to? Can you point out in the tutorial? On fre, 2017-10-06 at 14:03 +0530, Akshit Jain wrote: Hi, For nodetool authentication I'm following this: https://support.datastax.com/hc/en-us/articles/204226179-Step-by-step-instructions-for-securing-JMX-authe

server connection in authenticator

2017-10-25 Thread Horia Mocioi
Hello guys, We are building up an authenticator using certificates. So far we came up with a solution, but implies changing some files in Cassandra code base in order to have the connection in the new Authenticator. So, here are my questions: * how are you guys doing this? * is it possible to obt

Re: server connection in authenticator

2017-10-25 Thread Horia Mocioi
confidential and privileged material for the > sole use of the intended recipient. Any review, use, distribution or > disclosure by others is strictly prohibited. If you are not the > intended recipient (or authorized to receive for the recipient), > please contact the sender by repl

Re: server connection in authenticator

2017-10-26 Thread Horia Mocioi
need to change. > > Cheers, > Justin > > On Thu, 26 Oct 2017 at 17:50 Horia Mocioi > wrote: > > Thank you Jeff & Harika. > > > > Yes, I am aware of that mechanism. What we need to do is to add > > some > > extra validations on the

Re: JMX metrics for CL

2018-02-27 Thread Horia Mocioi
Hello, There are no such metrics that I am aware of. One way you could do this is to have your own implementation of QueryHandler and your own metrics and filter the queries based on the CL and increment the according metric. Then, in cassandra-env.sh you could specify to use your class using