Re: [RELEASE] Apache Cassandra 2.1.0

2014-09-17 Thread abhinav chowdary
it depends on how you installed it, package vs tar ball etc , Datastax has
good documentation i suggest reading it
http://www.datastax.com/documentation/upgrade/doc/upgrade/cassandra/upgradeCassandraDetails.html

in either case at a high level

Step 1: Stop node
Step 2: Backup your config files
Step 3: will be to replace new binaries
Step 4: will be to run nodetool upgradesstables

Again there are some gotchas so i recommend reading above documentation
thoroughly before proceeding



On Wed, Sep 17, 2014 at 8:04 AM, Yatong Zhang bluefl...@gmail.com wrote:

 Well, how to upgrade from 2.0.x to 2.1? Just replace cassandra bin files?

 On Wed, Sep 17, 2014 at 3:52 PM, Alex Popescu al...@datastax.com wrote:

 Apologies for the late reply: the 2.1.x version of the C#, Java and
 Python DataStax drivers support the new Cassandra 2.1 version.

 Here's the quick list of links:

 C#:

 Latest version: 2.1.2
 Nuget: https://www.nuget.org/packages/CassandraCSharpDriver/

 Java:

 Latest version: 2.1.1
 Maven: http://maven-repository.com/artifact/com.datastax.cassandra
 Binary distro: http://www.datastax.com/download#dl-datastax-drivers

 Python:

 Latest version: 2.1.1
 PyPi: https://pypi.python.org/pypi/cassandra-driver


 On Thu, Sep 11, 2014 at 10:58 AM, Tony Anecito adanec...@yahoo.com
 wrote:

 Ok is it part of the release or needs to be downloaded from Datastax
 somewhere. I am wondering about the java driver.

 Thanks!
 -Tony


   On Thursday, September 11, 2014 9:47 AM, abhinav chowdary 
 abhinav.chowd...@gmail.com wrote:


 Yes its was released java driver 2.1
 On Sep 11, 2014 8:33 AM, Tony Anecito adanec...@yahoo.com wrote:

 Congrads team I know you worked hard on it!!

 One question. Where can users get a java Datastax driver to support this
 version? If so is it released?

 Best Regards,
 -Tony Anecito
 Founder/President
 MyUniPortal LLC
 http://www.myuniportal.com


   On Thursday, September 11, 2014 9:05 AM, Sylvain Lebresne 
 sylv...@datastax.com wrote:


 The Cassandra team is pleased to announce the release of the final
 version
 of Apache Cassandra 2.1.0.

 Cassandra 2.1.0 brings a number of new features and improvements
 including (but
 not limited to):
  - Improved support of Windows.
  - A new incremental repair option[4, 5]
  - A better row cache that can cache only the head of partitions[6]
  - Off-heap memtables[7]
  - Numerous performance improvements[8, 9]
  - CQL improvements and additions: User-defined types, tuple types,
 2ndary
indexing of collections, ...[10]
  - An improved stress tool[11]

 Please refer to the release notes[1] and changelog[2] for details.

 Both source and binary distributions of Cassandra 2.1.0 can be
 downloaded at:

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

 As usual, a debian package is available from the project APT
 repository[3]
 (you will need to use the 21x series).

 The Cassandra team

 [1]: http://goo.gl/k4eM39 (CHANGES.txt)
 [2]: http://goo.gl/npCsro (NEWS.txt)
 [3]: http://wiki.apache.org/cassandra/DebianPackaging
 [4]: http://goo.gl/MjohJp
 [5]: http://goo.gl/f8jSme
 [6]: http://goo.gl/6TJPH6
 [7]: http://goo.gl/YT7znJ
 [8]: http://goo.gl/Rg3tdA
 [9]: http://goo.gl/JfDBGW
 [10]: http://goo.gl/kQl7GW
 [11]: http://goo.gl/OTNqiQ








 --

 :- a)


 Alex Popescu
 Sen. Product Manager @ DataStax
 @al3xandru





-- 
Warm Regards
Abhinav Chowdary


Re: cassandra + spark / pyspark

2014-09-11 Thread abhinav chowdary
Adding to conversation...

there are 3 great open source options available

1. Calliope http://tuplejump.github.io/calliope/
This is the first library that was out some time late last year (as i
can recall) and I have been using this for a while, mostly very stable,
uses Hadoop i/o in Cassandra (note that it doesn't require hadoop)

2. Datastax spark cassandra connector
https://github.com/datastax/spark-cassandra-connector: Main difference is
this uses cql3, again a great library but has few issues, also is very
actively developed by far and still uses thrift for minor stuff but all
heavy lifting in cql3

3. Startio Deep https://github.com/Stratio/stratio-deep: Has lot more to
offer if you use all startio stack, Deep is for Spark, Statio Streaming is
built on top of spark streaming, Stratio meta is something similar to
sharkor sparksql and finally stratio Cassandra which is a fork of Cassandra
with advanced Lucene based indexing


Re: [RELEASE] Apache Cassandra 2.1.0

2014-09-11 Thread abhinav chowdary
Yes its was released java driver 2.1
On Sep 11, 2014 8:33 AM, Tony Anecito adanec...@yahoo.com wrote:

 Congrads team I know you worked hard on it!!

 One question. Where can users get a java Datastax driver to support this
 version? If so is it released?

 Best Regards,
 -Tony Anecito
 Founder/President
 MyUniPortal LLC
 http://www.myuniportal.com


   On Thursday, September 11, 2014 9:05 AM, Sylvain Lebresne 
 sylv...@datastax.com wrote:


 The Cassandra team is pleased to announce the release of the final version
 of Apache Cassandra 2.1.0.

 Cassandra 2.1.0 brings a number of new features and improvements including
 (but
 not limited to):
  - Improved support of Windows.
  - A new incremental repair option[4, 5]
  - A better row cache that can cache only the head of partitions[6]
  - Off-heap memtables[7]
  - Numerous performance improvements[8, 9]
  - CQL improvements and additions: User-defined types, tuple types, 2ndary
indexing of collections, ...[10]
  - An improved stress tool[11]

 Please refer to the release notes[1] and changelog[2] for details.

 Both source and binary distributions of Cassandra 2.1.0 can be downloaded
 at:

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

 As usual, a debian package is available from the project APT repository[3]
 (you will need to use the 21x series).

 The Cassandra team

 [1]: http://goo.gl/k4eM39 (CHANGES.txt)
 [2]: http://goo.gl/npCsro (NEWS.txt)
 [3]: http://wiki.apache.org/cassandra/DebianPackaging
 [4]: http://goo.gl/MjohJp
 [5]: http://goo.gl/f8jSme
 [6]: http://goo.gl/6TJPH6
 [7]: http://goo.gl/YT7znJ
 [8]: http://goo.gl/Rg3tdA
 [9]: http://goo.gl/JfDBGW
 [10]: http://goo.gl/kQl7GW
 [11]: http://goo.gl/OTNqiQ






Read Entire row from cassandra

2014-04-17 Thread abhinav chowdary
We have one use case where we need to pull the entire wide row from
Cassandra (using 2.0, DSE4.0 ). Is there a preferred way to do this? ,
currently we are using prepared statement with java driver..