Re: Cassandra 2.2 and 3.0 dev notes

2015-05-15 Thread Mikhail Stepura
I believe these instructions for OS X are much simpler: 
http://www.jayway.com/2014/01/15/how-to-switch-jdk-version-on-mac-os-x-maverick/
 

 and are applicable for linux as well.

-
Mikhail

> On May 15, 2015, at 10:06, Jake Luciani  wrote:
> 
> I've added the cassandra-2.2 branch. This means:
> 
> When you commit a change to 2.0 you must merge:
> 
> 
> *cassandra-2.0 -> cassandra-2.1 -> cassandra-2.2 -> trunk*
> or for 2.1 change
> 
> 
> *cassandra-2.1 -> cassandra-2.2 -> trunk*
> 
> I've also closed #8168 so trunk will not compile with java 7.  This means
> you should either switch to java 8 now or better add support for switching
> between java versions on the fly.
> 
> For Linux you can add the following to your profile (assuming you installed
> the oracle java package):
> 
> alias use-java7="sudo update-java-alternatives -s java-7-oracle"
> alias use-java8="sudo update-java-alternatives -s java-8-oracle"
> 
> For OSX see
> http://andrew-jones.com/blog/managing-multiple-versions-of-java-on-os-x/
> 
> For Windows see https://coderwall.com/p/gbek2g/java-6-and-java-7-on-windows
> 
> Happy coding.



Re: [VOTE] Release Apache Cassandra 2.1.0-beta1

2014-02-19 Thread Mikhail Stepura
It's probably too late to vote, but -1 because of CASSANDRA-6739 and 
CASSANDRA-6741


-M

On 2/17/14, 9:23, Sylvain Lebresne wrote:

Cassandra 2.1 is coming along but we now need wider testing. So I propose
the
following artifacts for release as 2.1.0-beta1. Let it be clear that it is
only
a beta (and the first one at that), so we know it's not perfect, but the
current goal is first and foremost to get wider testing.

sha1: 73dcdbdf294d5e44f44e7e7eb17655bc40240a61
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.0-beta1-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1006/org/apache/cassandra/apache-cassandra/2.1.0-beta1/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1006/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne/

The vote will be open for 72 hours (longer if needed).

[1]: http://goo.gl/EhrN7D (CHANGES.txt)
[2]: http://goo.gl/D1gBmv (NEWS.txt)






Re: Proposal: freeze Thrift starting with 2.1.0

2014-03-11 Thread Mikhail Stepura

+1

But there is still room for improvement :)

https://issues.apache.org/jira/browse/CASSANDRA-6586

-M

On 3/11/14, 10:00, Jonathan Ellis wrote:

CQL3 is almost two years old now and has proved to be the better API
that Cassandra needed.  CQL drivers have caught up with and passed the
Thrift ones in terms of features, performance, and usability.  CQL is
easier to learn and more productive than Thrift.

With static columns and LWT batch support [1] landing in 2.0.6, and
UDT in 2.1 [2], I don't know of any use cases for Thrift that can't be
done in CQL.  Contrawise, CQL makes many things easy that are
difficult to impossible in Thrift.  New development is overwhelmingly
done using CQL.

To date we have had an unofficial and poorly defined policy of "add
support for new features to Thrift when that is 'easy.'"  However,
even relatively simple Thrift changes can create subtle complications
for the rest of the server; for instance, allowing Thrift range
tombtones would make filter conversion for CASSANDRA-6506 more
difficult.

Thus, I think it's time to officially close the book on Thrift.  We
will retain it for backwards compatibility, but we will commit to
adding no new features or changes to the Thrift API after 2.1.0.  This
will help send an unambiguous message to users and eliminate any
remaining confusion from supporting two APIs.  If any new use cases
come to light that can be done with Thrift but not CQL, we will commit
to supporting those in CQL.

(To a large degree, this merely formalizes what is already de facto
reality.  Most thrift clients have not even added support for
atomic_batch_mutate and cas from 2.0, and popular clients like
Astyanax are migrating to the native protocol.)

Reasonable?

[1] https://issues.apache.org/jira/browse/CASSANDRA-6561
[2] https://issues.apache.org/jira/browse/CASSANDRA-5590





Re: cassandra-2.1 testing

2014-04-08 Thread Mikhail Stepura
I suspect cqlsh-related tests are failing because cqlsh was trying to connect 
to 9160 (thrift)

Could someone verify if switching to ‘binary’ solves this problem?

Here is the patch: 
https://github.com/Mishail/cassandra-dtest/commit/33d648066df3f34a42035397fb366540784b6139


https://issues.apache.org/jira/browse/CASSANDRA-7003
https://issues.apache.org/jira/browse/CASSANDRA-7004


On Apr 8, 2014, at 13:47, Michael Shuler  wrote:

> Here is the current state of unit and dtest results for the cassandra-2.1 
> branch, from the commit I started with this morning.
> 
> origin/cassandra-2.1
> commit 0fa5cba35b9c97ad34dedbbd89a933f5b9d156e9
> Date:   Tue Apr 8 12:26:09 2014 -0500
> 
> 
> Unit Tests Failing:
> 
> 
> org.apache.cassandra.db.CommitLogTest.testExceedSegmentSizeWithOverhead
> 
> Error Message:
> java.lang.IllegalArgumentException: Mutation of 33554430 bytes is too large 
> for the maxiumum size of 16777216
>   at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:205)
>   at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:192)
>   at 
> org.apache.cassandra.db.CommitLogTest.testExceedSegmentSizeWithOverhead(CommitLogTest.java:177)
> 
> Jira:  https://issues.apache.org/jira/browse/CASSANDRA-6764 (Unresolved; 2.1 
> beta2):
>   "Using Batch commitlog_sync is slow and doesn't actually batch writes"
> 
> 
> 
> Dtests Failing:
> 
> 
> bootstrap_test
>  Should be fixed with a patch to ccm:
> https://github.com/pcmanus/ccm/pull/109
> 
> concurrent_schema_changes_test.TestConcurrentSchemaChanges.snapshot_test
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7002
> "concurrent_schema_changes_test snapshot_test dtest needs to account 
> for hashed data dirs in 2.1"
> 
> cqlsh_tests.TestCqlsh.test_eat_glass
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7003
> "cqlsh_tests test_eat_glass dtest fails on 2.1"
> 
> cqlsh_tests.TestCqlsh.test_simple_insert
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7004
> "cqlsh_tests test_simple_insert dtest fails on 2.1"
> 
> paxos_tests
>  Jira:  ToDo, once I have a little better understanding of the errors
> 
> repair_test
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7005
> "repair_test dtest fails on 2.1"
> 
> secondary_indexes_test.TestSecondaryIndexes.test_6924
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7006
> "secondary_indexes_test test_6924 dtest fails on 2.1"
> 
> topology_test
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7009
> "topology_test dtest fails in 2.1"
> 
> upgrade_supercolumns_test
>  Jira:  https://issues.apache.org/jira/browse/CASSANDRA-7008
> "upgrade_supercolumns_test dtest failing in 2.1"
> 
> upgrade_through_versions_test
>  Actively being improved by Russ Hatch - will hold on Jira for the moment
> 
> -- 
> Kind regards,
> Michael



Re: [VOTE] Release Apache Cassandra 2.0.8 (strike 2)

2014-05-21 Thread Mikhail Stepura
+1

-M

On May 21, 2014, at 6:19, Sylvain Lebresne  wrote:

> Since we closed the first try we've fixed even more bugs, with notable
> things
> like CASSANDRA-6285. In any case, that changelog is getting pretty damn
> long so
> I propose the following artifacts for release as 2.0.8.
> 
> sha1: 484d2816940cd2eb22d2365fcb376dd27e059e2e
> Git:
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.0.8-tentative
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachecassandra-1012/org/apache/cassandra/apache-cassandra/2.0.8/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-1012/
> 
> The artifacts as well as the debian package are also available here:
> http://people.apache.org/~slebresne/
> 
> The vote will be open for 72 hours (longer if needed).
> 
> [1]: http://goo.gl/EE3aHy (CHANGES.txt)
> [2]: http://goo.gl/dkl3Yu (NEWS.txt)



Re: [VOTE] Release Apache Cassandra 2.1.0-rc1

2014-05-30 Thread Mikhail Stepura
+1

-M

On May 30, 2014, at 9:38, Sylvain Lebresne  wrote:

> We've fixed all the bugs we had open for 2.1 so it's time to move on towards
> the final release. I thus propose the following artifacts for release as
> 2.1.0-rc1.
> 
> sha1: c108ce5bf2abc88077c97924def59fa1ea98a66e
> Git:
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.0-rc1-tentative
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachecassandra-1013/org/apache/cassandra/apache-cassandra/2.1.0-rc1/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-1013/
> 
> The artifacts as well as the debian package are also available here:
> http://people.apache.org/~slebresne/
> 
> The vote will be open for 72 hours (longer if needed).
> 
> [1]: http://goo.gl/rAsFCf (CHANGES.txt)
> [2]: http://goo.gl/9izAkd (NEWS.txt)



Re: [VOTE] Release Apache Cassandra 1.2.18

2014-07-02 Thread Mikhail Stepura
+1

On Jul 2, 2014 9:36 PM, Sylvain Lebresne  wrote:
1.2.17 shipped with a reference to a java 7 class (see CASSANDRA-7147). As
consequence, the source don't build on java 6. Regarding the binary
artifacts,
they are still targeted to java 6 so the only thing that doesn't work is the
use of the new cloudstack snitch (which is new in 1.2.17). So anyway,
having a
1.2 release for which the source don't compile with java 6 is not ideal so I
propose the following artifacts (which fix that problem) for release as
1.2.18.
As the diff with 1.2.17 is really small, I also propose to stick to a short
24h
vote.

sha1: 5a658be5ed3339b7dc52084d7eb33dd8295fa9f3
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.2.18-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1019/org/apache/cassandra/apache-cassandra/1.2.18/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1019/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne/

The vote will be open for 24 hours (longer if needed).

[1]: http://goo.gl/uYg6tj (CHANGES.txt)
[2]: http://goo.gl/ak45bd (NEWS.txt)


Re: [VOTE] Release Apache Cassandra 2.1.0-rc6

2014-08-17 Thread Mikhail Stepura

+1

On 8/17/14 9:01, Sylvain Lebresne wrote:

Let's try again. I propose the following artifacts for release as 2.1.0-rc6.
The vote will be open 24h.

sha1: d087317fdd0a2b35c0ee7473d6c83f0b24ced27d
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.0-rc6-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1026/org/apache/cassandra/apache-cassandra/2.1.0-rc6/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1026/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne/

The vote will be open for 24 hours (longer if needed).

[1]: http://goo.gl/r8xDQS (CHANGES.txt)
[2]: http://goo.gl/Gjn2XQ (NEWS.txt)





Re: [VOTE] Release Apache Cassandra 2.0.10 (strike 2)

2014-08-22 Thread Mikhail Stepura
+1

On Aug 22, 2014, at 8:54, Sylvain Lebresne  wrote:

> I propose the following artifacts for release as 2.0.10.
> 
> sha1: e28e7bf2b1a6bed1a4d38d86a1738cb8159c3f92
> Git:
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.0.10-tentative
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachecassandra-1027/org/apache/cassandra/apache-cassandra/2.0.10/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-1027/
> 
> The artifacts as well as the debian package are also available here:
> http://people.apache.org/~slebresne/
> 
> The vote will be open for 72 hours (longer if needed).
> 
> [1]: http://goo.gl/vDEui3 (CHANGES.txt)
> [2]: http://goo.gl/KhMtyQ (NEWS.txt)



Re: [VOTE] Release Apache Cassandra 2.1.0-rc7

2014-08-28 Thread Mikhail Stepura

+1

On 8/28/14 9:23, Sylvain Lebresne wrote:

We've solved all outstanding tickets for 2.1.0, but the number of fixes
since
rc6 is a bit big, so I propose the following artifacts for release as
2.1.0-rc7. Hopefullly it's the last one before the final this time.

sha1: 35e4e770719e383afb967153ad9ce9ce41e89c36
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.0-rc7-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1028/org/apache/cassandra/apache-cassandra/2.1.0-rc7/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1028/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne

The vote will be open for 72 hours (longer if needed).

[1]: http://goo.gl/S7Qudw (CHANGES.txt)
[2]: http://goo.gl/yoR5Zu (NEWS.txt)





Re: [VOTE] Release Apache Cassandra 2.1.0-rc7 (strike 2)

2014-09-02 Thread Mikhail Stepura

+1

On 9/2/14 5:13, Sylvain Lebresne wrote:

We've fixed CASSANDRA-7239 and added CASSANDRA-7857, times to try this
again: I
propose the following artifacts for release as 2.1.0-rc7. And since it's not
yet the final, let's stick to a short 24h vote.

sha1: 02be0dedd9773f1f2f7ce19dfeca82eed5456ca1
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.0-rc7-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1030/org/apache/cassandra/apache-cassandra/2.1.0-rc7/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1030/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne

The vote will be open for 24 hours (longer if needed).

[1]: http://goo.gl/dgHvyM (CHANGES.txt)
[2]: http://goo.gl/vNJbIF (NEWS.txt)





Re: [VOTE] Release Apache Cassandra 1.2.19

2014-09-12 Thread Mikhail Stepura

+1

On 9/12/14 10:16, Jake Luciani wrote:

I propose the following artifacts for release as 1.2.19.  This will likely
be the last release in this series.

sha1: 2d29ebd41592d83f899cbbf56823f1f5bf0f01c9
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.2.19-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1032/org/apache/cassandra/apache-cassandra/1.2.19/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1032/

The artifacts as well as the debian package is also available here:
http://people.apache.org/~jake

The vote will be open for 72 hours (longer if needed).

[1]: http://goo.gl/F6szqv (CHANGES.txt)
[2]: http://goo.gl/9VsZ88 (NEWS.txt)





Re: [VOTE] Release Apache Cassandra 2.1.1

2014-10-17 Thread Mikhail Stepura

+1

On 10/17/14 06:12, Sylvain Lebresne wrote:

I propose the following artifacts for release as 2.1.1.

sha1: b84d06f4c77032855e5b9e57c6132a5d2600a933
Git:
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.1-tentative
Artifacts:
https://repository.apache.org/content/repositories/orgapachecassandra-1034/org/apache/cassandra/apache-cassandra/2.1.1/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-1034/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne

The vote will be open for 72 hours (longer if needed).

[1]: http://goo.gl/3Bg4sG (CHANGES.txt)
[2]: http://goo.gl/IIgDZJ (NEWS.txt)





Re: [VOTE] Release Apache Cassandra 2.1.2

2014-11-05 Thread Mikhail Stepura
+1 

-M
> On Nov 5, 2014, at 18:20, Jake Luciani  wrote:
> 
> I propose the following artifacts for release as 2.1.2.
> 
> sha1: cdf80d9d196171376b6fc7aface473a471313efb
> Git:
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.2-tentative
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachecassandra-1039/org/apache/cassandra/apache-cassandra/2.1.2/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-1039/
> 
> The artifacts as well as the debian package are also available here:
> http://people.apache.org/~jake
> 
> The vote will be open for 72 hours (longer if needed).
> 
> [1]: http://goo.gl/SWXVUM (CHANGES.txt)
> [2]: http://goo.gl/B0CSvb (NEWS.txt)