Re: Why shaded Datastax java-driver?

2017-01-31 Thread Tomas Repik
Well good to know. Then I think the optional="true" attribute of the java driver in build.xml is misleading. If you didn't include the java driver, you're not able to build cassandra as far as I'm trying. I've already suggested a cassandra-common.jar in another topic (Cassandra client) and I'm

Cassandra client

2017-01-30 Thread Tomas Repik
Greetings, I'm interested in having cassandra client installed separately. I thought that java classes in cassandra-all.jar are those needed by cassandra server. Also that the cassandra-clientutil.jar would hold all the necessary classes to run nodetool and all other sstabletools. My asumptions

Why shaded Datastax java-driver?

2017-01-30 Thread Tomas Repik
Hello list, why is datastax java-driver so tightly fixed to the cassandra base? Is there any reason to have it as a shaded dependency? And what even a shaded dependency is? I'd be glad for any response. Thanks Tomas

Re: Three scripts needed to run the server, Why?

2017-07-12 Thread Tomas Repik
Thanks guys for joining the discussion, I hope you don't mind if I continue to argue a bit more. The core intelligence and functionality of Cassandra server lays in the Java classes, which reside in jar archives. This is the place where the main functionality updates take place. To ease the

Three scripts needed to run the server, Why?

2017-07-11 Thread Tomas Repik
Greetings, I've been working with Cassandra for more than a year but I still wonder about one thing: To run the server there is a bash script (cassandra) which uses another script (cassandra.in.sh) which uses yet another bash script (cassandra-env.sh). What is the reason behind this? Why there

Re: Three scripts needed to run the server, Why?

2017-07-11 Thread Tomas Repik
Thanks for the answer, it did not help much. I have read this several times and this I already know, It still does not answer the question, why there is the need for three files instead of a single file. Not to mention multiple different config files. All these files are more or less

Porting cqlsh to Python 3

2017-07-20 Thread Tomas Repik
Hi, the clock for Python 2.7 is ticking [1], and yes, there are still more than two years, but sooner or later cqlsh should be ported to Python 3. Is anybody already working on it or just considers to work on it? What is the long time plan for cqlsh? Should it be in Python forever or is the

Re: Porting cqlsh to Python 3

2017-07-20 Thread Tomas Repik
Yeah thanks, I've seen this issue on jira, but it is pretty outdated, and I wondered if there are any other means of discussing the topic other than the old jira. - Original Message - > Related: https://issues.apache.org/jira/browse/CASSANDRA-10190 >

Re: Cassandra did not start listening for CQL clients

2017-06-29 Thread Tomas Repik
Thanks Mike, now I remember this option, but I thought it was set to true by default. Any reasons why false is the default? - Original Message - > Hi Tomas, > > Try adding: > > start_native_transport: true > > to your config. > > Cheers, > MikeA >

Re: Cassandra did not start listening for CQL clients

2017-07-03 Thread Tomas Repik
e honestly no idea but it is still defaulting to false in Config.java. > > I'm assuming it will change to defaulting to true when thrift is finally > > removed. > > > >> On Thu, 29 Jun 2017 at 15:34 Tomas Repik <tre...@redhat.com> wrote: > >> > >>

Cassandra did not start listening for CQL clients

2017-06-29 Thread Tomas Repik
Hello, I've tried to create a minimal config file that is needed to start Cassandra server. Is it even possible? What is the minimal set of options that need to be set in the cassandra.yaml file in order for Cassandra to run flawlessly. These are the options I use: commitlog_sync: periodic

Is concurrent_batchlog_writes option used/implemented?

2017-06-13 Thread Tomas Repik
Hi, while browsing the options for setting up Cassandra at [1] I found an option `concurrent_batchlog_writes`. This is mentioned only in this documentation but I could not find it in the config file nor in the source code. Any comments regarding this are welcome. Thanks Tomas [1]

Re: Is concurrent_batchlog_writes option used/implemented?

2017-06-15 Thread Tomas Repik
And yet another glitch in the documentation at: https://docs.datastax.com/en/cassandra/3.0/cassandra/configuration/configCassandra_yaml.html#configCassandra_yaml__cqlTruncateequest_timeout_in_ms I guess it should be truncate_timeout_in_ms instead. Is there a more proper way I should use to