Dependency Hell: STORM 0.9.2 and Cassandra 2.0

2014-10-24 Thread Gary Zhao
Hello Anyone encountered the following issue and any workaround? Our Storm topology was written in Clojure. Our team is upgrading one of our storm topology from using cassandra 1.2 to cassandra 2.0, and we have found one problem that is difficult to tackle

Re: Scala driver

2014-09-01 Thread Gary Zhao
Thanks Jan. I decided to use Java driver directly. It's not hard to use. On Sun, Aug 31, 2014 at 1:08 AM, Jan Algermissen wrote: > Hi Gary, > > On 31 Aug 2014, at 07:19, Gary Zhao wrote: > > Hi > > Could you recommend a Scala driver and share your experiences of us

Java sample code for non-blocking async query

2014-09-01 Thread Gary Zhao
Hello I'm looking for non-blocking async query sample code. The one I found in the following link is async query but blocking. Could anyone share such code? http://www.datastax.com/documentation/developer/java-driver/1.0/java-driver/asynchronous_t.html Thanks Gary

Scala driver

2014-08-30 Thread Gary Zhao
Hi Could you recommend a Scala driver and share your experiences of using it. Im thinking if i use java driver in Scala directly. Thanks

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
. > If not, what versions of Cassandra and Java are you using? > > > On Mon, Apr 28, 2014 at 6:30 PM, Gary Zhao wrote: > >> BTW, the CPU usage on this node is pretty high, but data size is pretty >> small. >> >> PID USERNAME THR PRI NICE SIZE RES SHR

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
rack1 UN 5.32 GB256 33.1% 874a269f-96bc-4db6-9d15-7cac6771a2ea rack1 DN 339.94 MB 256 31.5% fba5b071-aee1-451f-ae42-49c3bbe70bbe rack1 On Mon, Apr 28, 2014 at 10:25 AM, Gary Zhao wrote: > Hello > > I have a three nodes cluster. I noticed one node was always down. >

java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
Hello I have a three nodes cluster. I noticed one node was always down. Restarting Cassandra fixes it but it will go down again after a couple of days. I'm pretty new to Cassandra so I'm wondering how I should troubleshoot it. Logs is as below. INFO [StorageServiceShutdownHook] 2014-04-28 13:21:

Re: Unsupported major.minor version 51.0

2013-09-17 Thread Gary Zhao
Thanks Jason. Does Node.js work with 2.0? I'm wondering which version should I run. Thanks. On Tue, Sep 17, 2013 at 8:24 PM, Jason Wee wrote: > cassandra 2.0, then use oracle or open jdk version 7. > > Jason > > > On Wed, Sep 18, 2013 at 11:21 AM, Gary Zhao wrote: >

Unsupported major.minor version 51.0

2013-09-17 Thread Gary Zhao
Hello I just saw this error. Anyone knows how to fix it? [root@gary-vm1 apache-cassandra-2.0.0]# bin/cassandra -f xss = -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms4014M -Xmx4014M -Xmn400M -XX:+HeapDumpOnOutOfMemoryError -Xss180k Exception in