Re: Alignment and coodination between DataStax's online documentation and Apache Cassandra online documentation

2018-02-23 Thread Myrle Krantz
Hey Kenneth,

I think it’s great that you’re working on improving the Cassandra
documentation. As a user, I thank you. This really is a pain point.

I have one suggestion: I feel like the process of improving that
documentation belongs on the dev mailing list, and the end-result belongs
on user. This would help improve the signal/noise ratio in my inbox.

Thank you again for helping to improve Cassandra,
Myrle

On Fri 23. Feb 2018 at 21:34 Kenneth Brotman 
wrote:

> To the amazing people of DataStax,
>
>
>
> The DataStax website is a little unwieldy as it tries to support open
> source Cassandra and DataStax’s version.  Meanwhile some of that
> information would help fill in the Apache Cassandra web site.  If you would
> like to work on this, I’m up for it.
>
>
>
> Kenneth Brotman
>


Re: New Column addition and Locking

2017-09-09 Thread Myrle Krantz
There's a tool in the early stages of development here:

https://github.com/mifosio/cassandra/tree/develop/src/main/java/io/mifos/core/cassandra/core

That is part of a mass of code which is currently under (slow) discussion to be 
added to the Apache Fineract project. ALV2 license.

I wouldn't be sad if it landed at Cassandra instead. 

Regards,
Myrle 

Sent from my iPhone

> On 8. Sep 2017, at 16:33, Deepak Panda  wrote:
> 
> Many Thanks Jeff for the answer and the relevant details. Can you
> please share the bug#?
> 
> Are there any opensource tools available for Cassandra which manage
> schema changes for Cassandra?
> 
>> On Fri, Sep 8, 2017 at 7:57 PM, Jeff Jirsa  wrote:
>> There is no lock and it doesn't block existing reads or writes
>> 
>> You're already on 3.11, but as a reminder for others there's a bug in 3.0 
>> versions between (3.0.0 and 3.0.14) and (3.0 and 3.11.0) that can cause 
>> corruption when you add columns. It's fixed in both 3.11.0 and 3.0.14, so if 
>> you need to alter your table and you're on a 3.something version that isn't 
>> one of those, upgrade first.
>> 
>> --
>> Jeff Jirsa
>> 
>> 
>>> On Sep 8, 2017, at 7:13 AM, Deepak Panda  wrote:
>>> 
>>> Hi,
>>> 
>>> For Cassandra 3.11, when we add a new column is added to an existing
>>> table having huge number of rows and huge data manipulation going on
>>> will there be any issues?
>>> 
>>> Will the operations blocked till the column is added?
>>> 
>>> Is the table locked during column addition? If yes, what type of lock?
>>> 
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
>>> For additional commands, e-mail: user-h...@cassandra.apache.org
>>> 
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
>> For additional commands, e-mail: user-h...@cassandra.apache.org
>> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
> 


Re: Cassandra and OpenJDK

2017-08-30 Thread Myrle Krantz
Thank you Kurt and Eric.

Myrle

On Mon, Aug 28, 2017 at 11:53 PM, kurt greaves  wrote:
> OpenJDK is fine.

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Cassandra and OpenJDK

2017-08-28 Thread Myrle Krantz
Hi,

We're using Cassandra 3.0.9.  I've found some warnings that Cassandra
should not be deployed using OpenJDK, but all the information on that
is at least 2 years old.

Is this still something to watch out for?  Or is the warning just legacy?

Thanks,
Myrle Krantz
Solution Architect, Kuelap, Inc.

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Re: ExceptionInInitializerError encountered during startup

2017-08-22 Thread Myrle Krantz
On Tue, Aug 22, 2017 at 4:21 PM, Russell Bateman  wrote:
> As this was my first post to this forum, I wonder if someone would reply to
> it if only to prove to myself that I've not posted to /dev/null as it were
> even if there's no answer or the question is stupid, etc. (Note: I am
> getting other forum posts, but maybe what I've posted didn't reach the
> forum?)
>
> Profuse thanks,
>
> Russ

This will be my second post to this forum : o).  We're using embedded
Cassandra in our component tests as a junit ExternalResource, together
with datastax.  Here's some of what our start code looks like:
The original code can be found here:
https://github.com/mifosio/test/blob/develop/src/main/java/io/mifos/core/test/fixture/cassandra/CassandraInitializer.java

An example yaml file with the properties requested here can be found:
https://github.com/mifosio/portfolio/blob/develop/service/src/main/resources/application.yml

I use this hundreds of times a day and it works, but because our use
case is kind of special (multi-tenancy via keyspaces and multiple data
stores initialized as TestRules), you may have to noodle through what
we've done a bit to get your stuff working.

Greets,
Myrle

public final class CassandraInitializer {
  public void initialize() throws Exception {

Builder clusterBuilder = (new
Builder()).withClusterName(System.getProperty("cassandra.clusterName"));
ContactPointUtils.process(clusterBuilder,
System.getProperty("cassandra.contactPoints"));
this.cluster = clusterBuilder.build();

this.setup();
  }


  private void setup() throws Exception {
if (!this.useExistingDB) {
  this.startEmbeddedCassandra();
  this.createKeyspaceSeshat();
}

  }


  private void startEmbeddedCassandra() throws Exception {

EmbeddedCassandraServerHelper.startEmbeddedCassandra(TimeUnit.SECONDS.toMillis(30L));
  }
}


> On 08/18/2017 05:49 PM, Russell Bateman wrote:
>
> Cassandra version 3.9, -unit version 3.1.3.2.
>
> In my (first ever) unit test, I've coded:
>
> @BeforeClass public static void initFakeCassandra() throws
> InterruptedException, IOException, TTransportException
> {
> EmbeddedCassandraServerHelper.startEmbeddedCassandra( 2L );
> }
>
> Execution crashes down inside at
>
> at org.apache.cassandra.transport.Server.start(Server.java:128)
> at java.util.Collections$SingletonSet.forEach(Collections.java:4767)
> at
> org.apache.cassandra.service.NativeTransportService.start(NativeTransportService.java:128)
> at
> org.apache.cassandra.service.CassandraDaemon.startNativeTransport(CassandraDaemon.java:649)
> at
> org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:511)
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:616)
> at
> org.cassandraunit.utils.EmbeddedCassandraServerHelper$1.run(EmbeddedCassandraServerHelper.java:129)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException: name
> at
> io.netty.util.internal.logging.AbstractInternalLogger.(AbstractInternalLogger.java:39)
> at
> io.netty.util.internal.logging.Slf4JLogger.(Slf4JLogger.java:30)
> at
> io.netty.util.internal.logging.Slf4JLoggerFactory.newInstance(Slf4JLoggerFactory.java:73)
> at
> io.netty.util.internal.logging.InternalLoggerFactory.getInstance(InternalLoggerFactory.java:84)
> at
> io.netty.util.internal.logging.InternalLoggerFactory.getInstance(InternalLoggerFactory.java:77)
> at io.netty.bootstrap.ServerBootstrap.(ServerBootstrap.java:46)
> ... 10 more
>
> I am following the tutorial at Baeldung. Not sure where to go from here.
> Stackoverflow response was not helpful to me, I probably don't know enough
> yet.
>
> Thanks.
>
>

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Solutions.Hamburg conference speaking opportunity

2017-07-19 Thread Myrle Krantz
Hello Apache Cassandra Community,

Solutions.Hamburg is offering Apache conference speaking slots, and
some time to advertise for the ASF.  We were wondering if anyone in
the Cassandra community would like to give a technical talk on Apache
Cassandra, between September 6-8 in Hamburg.

This is an opportunity to get extra exposure for Apache, for your
project, and for yourself.  Anyone interested?

Best Regards,
Myrle Krantz


FYI: This is the thread in d...@community.apache.org:
https://lists.apache.org/thread.html/c0efc33f8f4054f180a54ac97bcf04a30f2e510d63f510bb87e1983b@%3Cdev.community.apache.org%3E

P.S. I've been using Cassandra in our rearchitecting of Apache
Fineract, and I'm a huge fan.  Keep up the good work y'all!

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org