Re: Corrupted sstables

2019-05-09 Thread Jason Wee
maybe print out value into the logfile and that should lead to some clue where it might be the problem? On Tue, May 7, 2019 at 4:58 PM Paul Chandler wrote: > > Roy, We spent along time trying to fix it, but didn’t find a solution, it was > a test cluster, so we ended up rebuilding the cluster, r

Re: JOB | Permanent Java Development Manager (Montreal, Canada)

2018-08-01 Thread Jason Wee
Hi Eric, I agree with you. On Wed, Aug 1, 2018 at 11:15 PM, Eric Evans wrote: > On Tue, Jul 31, 2018 at 11:42 PM James Tobin wrote: >> Hello, I'm working with an employer that is looking to hire (for their >> Montreal office) a permanent development manager that has extensive >> hands-on Java co

Re: Corrupt SSTABLE over and over

2016-08-12 Thread Jason Wee
cassandra run on virtual server (vmware)? > I tried sstablescrub but it crashed with hs-err-pid-... maybe try with larger heap allocated to sstablescrub this sstable corrupt i ran into it as well (on cassandra 1.2), first i try nodetool scrub, still persist, then offline sstablescrub still persis

Re: too many full gc in one node of the cluster

2015-11-13 Thread Jason Wee
Used to manage/develop for cassandra 1.0.8 for quite sometime. Although 1.0 was rocking stable but we encountered various problems as load per node grow beyond 500gb. upgrading is one of the solution but may not be the solution for you but I strongly recommend you upgrade to 1.1 or 1.2. we upgraded

Re: High CPU load

2015-07-20 Thread Jason Wee
just a guess, gc? On Mon, Jul 20, 2015 at 3:15 PM, Marcin Pietraszek wrote: > Hello! > > I've noticed a strange CPU utilisation patterns on machines in our > cluster. After C* daemon restart it behaves in a normal way, after a > few weeks since a restart CPU usage starts to raise. Currently on o

Re: Experiencing Timeouts on one node

2015-07-06 Thread Jason Wee
3. How do we rebuild System keyspace? wipe this node and start it all over. hth jason On Tue, Jul 7, 2015 at 12:16 AM, Shashi Yachavaram wrote: > When we reboot the problematic node, we see the following errors in > system.log. > > 1. Does this mean hints column family is corrupted? > 2. Can

Re: Experiencing Timeouts on one node

2015-07-02 Thread Jason Wee
you should check the network connectivity for this node and also its system average load. is that typo or literary what it is, cassandra 1.2.15.*1* and java 6 update *85* ? On Thu, Jul 2, 2015 at 12:59 AM, Shashi Yachavaram wrote: > We have a 28 node cluster, out of which only one node is expe

Re: Error while adding a new node.

2015-07-01 Thread Jason Wee
nodetool cfstats? On Wed, Jul 1, 2015 at 8:08 PM, Neha Trivedi wrote: > Hey.. > nodetool compactionstats > pending tasks: 0 > > no pending tasks. > > Dont have opscenter. how do I monitor sstables? > > > On Wed, Jul 1, 2015 at 4:28 PM, Alain RODRIGUEZ > wrote: > >> You also might want to check

Re: Cassandra leap second

2015-07-01 Thread Jason Wee
same here too, on branch 1.1 and have not seen any high cpu usage. On Wed, Jul 1, 2015 at 2:52 PM, John Wong wrote: > Which version are you running and what's your kernel version? We are still > running on 1.2 branch but we have not seen any high cpu usage yet... > > On Tue, Jun 30, 2015 at 11:1

Re: After Restart Nodes had lost data

2015-06-23 Thread Jason Wee
on the node 192.168.2.100, did you run repair after its status is UN? On Wed, Jun 24, 2015 at 2:46 AM, Jean Tremblay < jean.tremb...@zen-innovations.com> wrote: > Dear Alain, > > Thank you for your reply. > > Ok, yes I did not drain. The cluster was loaded with tons of records, > and no new re

Re: system-hints compaction all the time

2015-06-22 Thread Jason Wee
what's your questions? On Mon, Jun 22, 2015 at 12:05 AM, 曹志富 wrote: > the logger like this : > > > INFO [CompactionExecutor:501] 2015-06-21 21:42:36,306 > CompactionTask.java:140 - Compacting > [SSTableReader(path='/home/ant/apache-cassandra-2.1.6/bin/../data/data/system/hints/system-hints-ka-3

Re: Garbage collector launched on all nodes at once

2015-06-17 Thread Jason Wee
okay, iirc memtable has been removed off heap, google and got this http://www.datastax.com/dev/blog/off-heap-memtables-in-Cassandra-2-1 apparently, there are still some reference on heap. On Thu, Jun 18, 2015 at 1:11 PM, Marcus Eriksson wrote: > It is probably this: https://issues.apache.org/ji

Re: Nodetool ring and "Replicas" after 1.2 upgrade

2015-06-15 Thread Jason Wee
maybe check the system.log to see if there is any exception and/or error? check as well if they are having consistent schema for the keyspace? hth jason On Tue, Jun 16, 2015 at 7:17 AM, Michael Theroux wrote: > Hello, > > We (finally) have just upgraded from Cassandra 1.1 to Cassandra 1.2.19.

Re: How to minimize Cassandra memory usage for test environment?

2015-06-09 Thread Jason Wee
for a start, maybe you can see the setting use by raspberry pi project, for instance http://ac31004.blogspot.com/2012/05/apache-cassandra-on-raspberry-pi.html you can look at these two files, to tune down the settings for test environment. cassandra-env.sh cassandra.yaml hth jason On Tue, Jun 9,

Re: How to set datastax-angent connect with jmx an

2015-06-02 Thread Jason Wee
the error in the log output looks similar to this http://serverfault.com/questions/614810/opscenter-4-1-4-authentication-failing , in the opscenter 5.1.2 , do you configure the username/password same with the agent and cassandra node too? jason On Wed, Jun 3, 2015 at 11:13 AM, 贺伟平 wrote: > > ​

Re: ERROR Compaction Interrupted

2015-06-01 Thread Jason Wee
looks like it is graciously handle in the code, should be okay. if (ci.isStopRequested()) throw new CompactionInterruptedException(ci.getCompactionInfo()); https://github.com/apache/cassandra/blob/cassandra-2.0.9/src/java/org/apache/cassandra/db/compaction/Comp

Re: How to interpret some GC logs

2015-06-01 Thread Jason Wee
can you tell what jvm is that? jason On Mon, Jun 1, 2015 at 5:46 PM, Michał Łowicki wrote: > Hi, > > Normally I get logs like: > > 2015-06-01T09:19:50.610+: 4736.314: [GC 6505591K->4895804K(8178944K), > 0.0494560 secs] > > which is fine and understandable but occasionalIy I see something li

Re: what this error mean

2015-05-28 Thread Jason Wee
why it happened? from the code, it looks like this condition is not null https://github.com/apache/cassandra/blob/cassandra-2.1.3/src/java/org/apache/cassandra/io/sstable/SSTableReader.java#L921 or you can quickly fix this by upgrading to 2.1.5, i noticed there is code change for this class https:

Re: Start with single node, move to 3-node cluster

2015-05-27 Thread Jason Wee
ata that needs migrating won’t be > huge, probably about 30G, but it is data that I definitely need to keep > (for historical analysis, audit etc). > > > > Thanks! > > Matthew > > > > > > > > *From:* Jason Wee [mailto:peich...@gmail.com] > *Sent:* 26 M

Re: Start with single node, move to 3-node cluster

2015-05-26 Thread Jason Wee
will you add this lent one node into the 3N to form a cluster? but really , if you are just started, you could use this one node for your learning by installing multiple instances for experiments or development purposes only. imho, in the long run, this proove to be very valuable, as least for me.

Re: Leveled Compaction Strategy with a really intensive delete workload

2015-05-25 Thread Jason Wee
rows which were spanning >> several SStables with other compaction strategies (and hence leading to >> high latency read queries). >> >> I was honestly thinking of scraping and rebuilding the SStable from >> scratch if this workload is confirmed to be temporary. Knowin

Re: Leveled Compaction Strategy with a really intensive delete workload

2015-05-25 Thread Jason Wee
, due to a really intensive delete workloads, the SSTable is promoted to t.. Is cassandra design for *delete* workloads? doubt so. Perhaps looking at some other alternative like ttl? jason On Mon, May 25, 2015 at 10:12 AM, Manoj Khangaonkar wrote: > Hi, > > For a delete intensive workl

Re: Nodetool on 2.1.5

2015-05-21 Thread Jason Wee
yeah, you can confirm in the log such as the one below. WARN [main] 2015-05-22 11:23:25,584 CassandraDaemon.java:81 - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info. we are running c* with ipv6, cqlsh works superb but not on local link. $ nodetool -h f

Re: C*1.2 on JVM 1.7

2015-05-16 Thread Jason Wee
Running java7u72 with c* 1.1 with no issues.. yet (hope not) :) Jason On Sat, May 16, 2015 at 2:39 AM, wrote: > I have run plenty of 1.2.x Cassandra versions on the Oracle JVM 1.7. I > have used both 1.7.0_40 and 1.7.0_72 with no issues. Also have 3.2.7 DSE > running on 1.7.0_72 in PR with no

Re: java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code

2015-05-03 Thread Jason Wee
try different jvm version or find out why is that happening? hth jason On Mon, May 4, 2015 at 10:10 AM, 曹志富 wrote: > Hi guys: > > I havle C* 2.1.3 cluster,25 nodes ,running in JDK_1.7.0_71, CentOS > 2.6.32-220.el6.x86_64,4 Core,32GB RAM. > > Today one of the nodes,has some error like this: > >

Re: Help understanding aftermath of death by GC

2015-03-31 Thread Jason Wee
Hey Robert, you might want to start by looking into the statistics of cassandra, either exposed via nodetool or if you have monitoring system monitor the important metrics. I have read this article moment ago and I hope it help you http://aryanet.com/blog/cassandra-garbage-collector-tuning to begin

Re: upgrade from 1.0.12 to 1.1.12

2015-03-27 Thread Jason Wee
Rob, the cluster now upgraded to cassandra 1.0.12 (default hd version, in Descriptor.java) and I ensure all sstables in current cluster are hd version before upgrade to cassandra 1.1. I have also checked in cassandra 1.1.12 , the sstable is version hf version. so i guess, nodetool upgradesstables i

Re: upgrade from 1.0.12 to 1.1.12

2015-03-25 Thread Jason Wee
e upgrade is not complete until upgradesstables > completes on all nodes. Then you are safe to resume any streaming operations > (repairs and bootstraps). > > > Sean Durity – Cassandra Admin, Big Data Team > To engage the team, create a request > > -----Original Message

Re: upgrade from 1.0.12 to 1.1.12

2015-03-25 Thread Jason Wee
air, adding & removing nodes. In general it's a bad idea to > do any streaming op when you've got an upgrade in progress. > > On Tue, Mar 24, 2015 at 3:14 AM Jason Wee wrote: >> >> Hello, >> >> Reading this documentation >> http://www.datastax.com/

upgrade from 1.0.12 to 1.1.12

2015-03-24 Thread Jason Wee
Hello, Reading this documentation http://www.datastax.com/docs/1.1/install/upgrading If you are upgrading to Cassandra 1.1.9 from a version earlier than 1.1.7, all nodes must be upgraded before any streaming can take place. Until you upgrade all nodes, you cannot add version 1.1.7 nodes or later

Re: cassandra triggers

2015-03-23 Thread Jason Wee
okay, if you leave a comment in the blog on what is breaking and what cassandra, I can take a look at the code when I get the time. :-) jason On Mon, Mar 23, 2015 at 8:15 PM, Asit KAUSHIK wrote: > attached is the code . You follow the process for compiling and using the > code. > > If anything

Re: cassandra node jvm stall intermittently

2015-03-10 Thread Jason Wee
heh on the midst of upgrading , Rob ;-) Jason On Tue, Mar 10, 2015 at 2:04 AM, Robert Coli wrote: > On Sat, Mar 7, 2015 at 1:44 AM, Jason Wee wrote: >> >> hey Ali, 1.0.8 >> >> On Sat, Mar 7, 2015 at 5:20 PM, Ali Akhtar wrote: >>> >>> What version

Re: cassandra node jvm stall intermittently

2015-03-07 Thread Jason Wee
hey Ali, 1.0.8 On Sat, Mar 7, 2015 at 5:20 PM, Ali Akhtar wrote: > What version are you running? > > On Sat, Mar 7, 2015 at 2:14 PM, Jason Wee wrote: > >> >> Hi Jan, thanks for your time to prepare the question and answer below, >> >> >>- How man

Re: cassandra node jvm stall intermittently

2015-03-07 Thread Jason Wee
t is the load distribution the ring (ie: is this node carrying >more load than the others). > > > The system.log should have more info.,about it. > > hope this helps > Jan/ > > > > > > On Friday, March 6, 2015 4:50 AM, Jason Wee wrote: > > >

Re: cassandra node jvm stall intermittently

2015-03-06 Thread Jason Wee
4:26 AM, Jan wrote: > HI Jason; > > Whats in the log files at the moment jstat shows 100%. > What is the activity on the cluster & the node at the specific point in > time (reads/ writes/ joins etc) > > Jan/ > > > On Wednesday, March 4, 2015 5:59 AM, Jason Wee

cassandra node jvm stall intermittently

2015-03-04 Thread Jason Wee
Hi, our cassandra node using java 7 update 72 and we ran jstat on one of the node, and notice some strange behaviour as indicated by output below. any idea why when eden space stay the same for few seconds like 100% and 18.02% for few seconds? we suspect such "stalling" cause timeout to our cluster

Re: sstables remain after compaction

2015-03-03 Thread Jason Wee
noted Tyler...and many thanks.. well, I read cassandra jira issues and just followed one of the comment https://issues.apache.org/jira/browse/CASSANDRA-5740 In general, I thought we always advised to upgrade through the 'major' revs, 1.0 -> 1.1 -> 1.2. Or, at least, I think that's the advice now

Re: sstables remain after compaction

2015-03-03 Thread Jason Wee
emain after compaction > > > > On Sat, Feb 28, 2015 at 5:39 PM, Jason Wee wrote: > > Hi Rob, sorry for the late response, festive season here. cassandra > version is 1.0.8 and thank you, I will read on the READ_STAGE threads. > > > > 1.0.8 is pretty seriously old

Re: sstables remain after compaction

2015-02-28 Thread Jason Wee
Hi Rob, sorry for the late response, festive season here. cassandra version is 1.0.8 and thank you, I will read on the READ_STAGE threads. Jason On Wed, Feb 18, 2015 at 3:33 AM, Robert Coli wrote: > On Fri, Feb 13, 2015 at 7:45 PM, Jason Wee wrote: > >> I trigger user defined c

Re: how many rows can one partion key hold?

2015-02-27 Thread Jason Wee
you might want to read here http://wiki.apache.org/cassandra/CassandraLimitations jason On Fri, Feb 27, 2015 at 2:44 PM, wateray wrote: > Hi all, > My team is using Cassandra as our database. We have one question as below. > As we know, the row with the some partition key will be stored in the

Re: sstables remain after compaction

2015-02-13 Thread Jason Wee
perhaps highlight in the code? Jason On Sat, Feb 14, 2015 at 3:58 AM, Robert Coli wrote: > On Fri, Feb 13, 2015 at 1:35 AM, Jason Wee wrote: > >> Pre cassandra 1.0, after sstables are compacted, the old sstables will be >> remain until the first gc kick in. For cassandra 1.0,

sstables remain after compaction

2015-02-13 Thread Jason Wee
Hello, Pre cassandra 1.0, after sstables are compacted, the old sstables will be remain until the first gc kick in. For cassandra 1.0, the sstables will be remove after compaction is done. Will it be possible the old sstables remains due to whatever reasons (e.g. read referencing)? Thank you. Ja

Re: SStables can't compat automaticly

2015-01-26 Thread Jason Wee
Did you disable auto compaction through nodetool? disableautocompactionDisable autocompaction for the given keyspace and column family Jason On Mon, Jan 26, 2015 at 11:34 AM, 曹志富 wrote: > Hi everybody: > > I have 18 nodes using cassandra2.1.2.Every node has 4 core, 32 GB RAM, 2T > hard

Re: keyspace not exists?

2015-01-21 Thread Jason Wee
Thanks Rob, we keep this in mind for our learning journey. Jason On Wed, Jan 21, 2015 at 6:45 AM, Robert Coli wrote: > On Sun, Jan 18, 2015 at 8:55 PM, Jason Wee wrote: > >> two nodes running cassandra 2.1.2 and one running cassandra 2.1.1 >> > > For the record

Re: keyspace not exists?

2015-01-18 Thread Jason Wee
_id,schema_version from system.local; host_id | schema_version --+-- d21e3d11-5bfb-4888-97cd-62af90e83f56 | f6f3835e-ed12-34f4-9f4b-f2a72bb57c30 (1 rows) On Mon, Jan 19, 2015 at 12:55 PM, Jason

Re: keyspace not exists?

2015-01-18 Thread Jason Wee
he "keyspace >> not found" still occurs: same here, since 2.1.x we've had cases where >> a restart was required for cqlsh and / or drivers to see the schema >> changes. >> >>J. >> >> On Fri, Jan 16, 2015 at 3:56 AM, Jason Wee wrote: >&g

keyspace not exists?

2015-01-16 Thread Jason Wee
$ cqlsh 192.168.0.2 9042 Connected to just4fun at 192.168.0.2:9042. [cqlsh 5.0.1 | Cassandra 2.1.1 | CQL spec 3.2.0 | Native protocol v3] Use HELP for help. cqlsh> DESCRIBE KEYSPACES cqlsh> create keyspace foobar with replication = {'class':'SimpleStrategy', 'replication_factor':3}; errors={}, l

Re: diff cassandra.yaml 1.2 --> 2.1

2014-12-29 Thread Jason Wee
cal and > premature. I guess I am missing something in my reasoning but can't figure > out what exactly. > > C*heers, > > Alain > > 2014-12-29 14:52 GMT+01:00 Jason Wee : > >> https://issues.apache.org/jira/browse/CASSANDRA-3534 >> >> On Mon, Dec 29,

Re: diff cassandra.yaml 1.2 --> 2.1

2014-12-29 Thread Jason Wee
https://issues.apache.org/jira/browse/CASSANDRA-3534 On Mon, Dec 29, 2014 at 6:58 PM, Alain RODRIGUEZ wrote: > Hi guys, > > I am looking at added and dropped option in Cassandra between 1.2.18 and > 2.0.11 and this makes me wonder: > > Why has the index_interval option been removed from cassandr

Re: Keyspace and table/cf limits

2014-12-06 Thread Jason Wee
+1 well said Jack! On Sun, Dec 7, 2014 at 6:13 AM, Jack Krupansky wrote: > Generally, limit a Cassandra cluster low hundreds of tables, regardless > of number of keyspaces. Beyond low hundreds is certainly an “expert” > feature and requires great care. Sure, maybe you can have 500 or 750 or >

Re: Nodes get stuck in crazy GC loop after some time, leading to timeouts

2014-12-02 Thread Jason Wee
ack and many thanks for the tips and help.. jason On Wed, Dec 3, 2014 at 4:49 AM, Robert Coli wrote: > On Mon, Dec 1, 2014 at 11:07 PM, Jason Wee wrote: > >> Hi Rob, any recommended documentation on describing >> explanation/configuration of the JVM heap and permane

Re: Using Cassandra for session tokens

2014-12-02 Thread Jason Wee
Hi Phil, just my 2 cents, just watch out for these issues like counter type (replicate on write), compaction (when node load goes huge) and cassandra instance gc. This issues exists in 1.x perhaps it has been resolved in 2.x. hth jason On Mon, Dec 1, 2014 at 10:44 PM, Matt Brown wrote: > This

Re: Nodes get stuck in crazy GC loop after some time, leading to timeouts

2014-12-01 Thread Jason Wee
Hi Rob, any recommended documentation on describing explanation/configuration of the JVM heap and permanent generation ? We stucked in this same situation too. :( Jason On Tue, Dec 2, 2014 at 3:42 AM, Robert Coli wrote: > On Fri, Nov 28, 2014 at 12:55 PM, Paulo Ricardo Motta Gomes < > paulo.mo.

Re: open source cassandra and hadoop

2014-11-28 Thread Jason Wee
There are two examples of hadoop with cassandra in the examples codes, https://github.com/apache/cassandra/tree/trunk/examples/hadoop_word_count https://github.com/apache/cassandra/tree/trunk/examples/hadoop_cql3_word_count Does these help? Jason On Sat, Nov 29, 2014 at 2:30 AM, Tim Dunphy wro

Re: Question: How to monitor the QPS in Cassandra local node or cluster

2014-11-20 Thread Jason Wee
Hello, have you try get statistics from jmx? On Thu, Nov 20, 2014 at 10:55 AM, luolee.me wrote: > Hi, everyone, > I want to monitor the Cassandra cluster using Zabbix, but I have no idea > about hot monitor the QPS on local Cassandra node ? > I search the internet but haven't any result about ho

Re: What actually causing java.lang.OutOfMemoryError: unable to create new native thread

2014-11-10 Thread Jason Wee
; > On Mon, Nov 10, 2014 at 11:21 AM, graham sanderson > wrote: > >> First question are you running 32bit or 64bit… on 32bit you can easily >> run out of virtual address space for thread stacks. >> >> On Nov 10, 2014, at 8:25 AM, Jason Wee wrote: >> >> He

What actually causing java.lang.OutOfMemoryError: unable to create new native thread

2014-11-10 Thread Jason Wee
Hello people, below is an extraction from cassandra system log. ERROR [Thread-273] 2012-04-10 16:33:18,328 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[Thread-273,5,main] java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(N

Re: Hector latency related configuration

2014-10-27 Thread Jason Wee
Hi, What version of Hector are you using? Probably start with different consistency level? Does your node in cluster having memory pressure (you can check in cassandra system log)? what is the average node load per node currently? Also read concurrent_writes in cassandra.yaml if you can increase

Re: Why is the cassandra documentation such poor quality?

2014-07-23 Thread Jason Wee
I agree to the people here already sharing their ways to access documentation. If you are starter, you should better spend time to search for documentation (like using google) or hours to read. Then start ask specific question. Coming here kpkb about poor quality of documentation just does not cut

Re: Unable to complete request: one or more nodes were unavailable.

2014-04-15 Thread Jason Wee
hmm.. I get a similar output as yours yesterday when trying to truncate a table in a 3 nodes cluster where one of the node went offline. but the alternative that I have is that, instead of truncate, i just drop the table and recreate it. using cassandra version 2.0.6 by the way. On Wed, Apr 1

Re: ./cqlsh not working

2014-01-22 Thread Jason Wee
Just meant it cannot find the require library, why don't you install cassandra package to your distribution ? http://rpm.datastax.com/community/noarch/cassandra12-1.2.13-1.noarch.rpm http://www.datastax.com/documentation/cassandra/1.2/webhelp/index.html#cassandra/install/installRHEL_t.html?pagename

Re: Exception in thread "main" java.lang.NoClassDefFoundError

2014-01-22 Thread Jason Wee
NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon This stated very clear, the class is not found in the classpath. Very obviously you are not using the cassandra package for the distribution, so you need to find which jar that contain this class and check in your classpath if this

Re: Long GC due to promotion failures

2014-01-22 Thread Jason Wee
SSTable count: 365 Your sstable counts are too many... don't know what is the best count should be but for my experience, anything below 20 are good. Is your compaction running? I read on a few blog on how should we read cfhistograms, but never really understood fully. Anyone care to explain usi

Re: Upgrading 1.0.9 to 2.0

2014-01-22 Thread Jason Wee
If you have a test environment which has identical or almost identical to your production, doing upgrade in test environment would give more confidence. If it is *production*, I would not even want to keep my finger cross or hope in anyway it would work for this major upgrade 1.0.x to 2.0.x . A saf

Re: using cssandra cql with php

2014-01-12 Thread Jason Wee
Hi, operating system should not be a matter right? You just need the cassandra client downloaded and use it to access cassandra node. PHP? http://wiki.apache.org/cassandra/ClientOptions perhaps you can package cassandra pdo driver into rpm? Jason On Mon, Jan 13, 2014 at 3:02 PM, Tim Dunphy wro

Re: Can't start service with error: java.lang.IllegalStateException: Unable to contact any seeds

2014-01-10 Thread Jason Wee
Hi, did you configured ip address in the setting "seeds:" in cassandra.yaml? Jason On Fri, Jan 10, 2014 at 1:20 PM, Francisco Dalla Rosa Soares < dallar...@gmail.com> wrote: > Hello everyone, > > I've tried to google all I could and also asking at ServerFault first but > as I got no answer I de

Re: massive spikes in read latency

2014-01-07 Thread Jason Wee
/** * Verbs it's okay to drop if the request has been queued longer than the request timeout. These * all correspond to client requests or something triggered by them; we don't want to * drop internal messages like bootstrap or repair notifications. */ public static fin

Re: massive spikes in read latency

2014-01-06 Thread Jason Wee
Hi, could it be due to having noisy neighbour? Do you have graphs statistics ping between nodes? Jason On Mon, Jan 6, 2014 at 7:28 AM, Blake Eggleston wrote: > Hi, > > I’ve been having a problem with 3 neighboring nodes in our cluster having > their read latencies jump up to 9000ms - 18000ms f

Re: offheap component

2014-01-01 Thread Jason Wee
off heap? On Wed, Jan 1, 2014 at 1:25 AM, Tyler Hobbs wrote: > > On Tue, Dec 31, 2013 at 7:35 AM, Jason Wee wrote: > >> >> In Cassandra 1.2 and later, the Bloom filter and compression offset map >> that store this metadata reside off-heap, greatly increasing the capaci

offheap component

2013-12-31 Thread Jason Wee
Excerpts from http://www.datastax.com/documentation/cassandra/2.0/webhelp/cassandra/operations/ops_tune_jvm_c.html In Cassandra 1.2 and later, the Bloom filter and compression offset map that store this metadata reside off-heap, greatly increasing the capacity per node of data that Cassandra can h

Re: Replication Latency between cross data centers

2013-12-31 Thread Jason Wee
Hi, how about streaming metrics https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/metrics/StreamingMetrics.java ? Jason On Tue, Dec 31, 2013 at 6:38 AM, Senthil, Athinanthny X. -ND < athinanthny.x.senthil@disney.com> wrote: > I want to determine data replication la

Re: org.apache.thrift.TApplicationException: get_range_slices failed: out of sequence response

2013-12-24 Thread Jason Wee
- > Aaron Morton > New Zealand > @aaronmorton > > Co-Founder & Principal Consultant > Apache Cassandra Consulting > http://www.thelastpickle.com > > On 19/12/2013, at 11:38 pm, Jason Wee wrote: > > > Hi, > > In regards

org.apache.thrift.TApplicationException: get_range_slices failed: out of sequence response

2013-12-19 Thread Jason Wee
Hi, In regards to recv_get_range_slices(), in my cassandra client code, it always throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.BAD_SEQUENCE_ID, "get_range_slices failed: out of sequence response"); Full source code here https://raw.github.com/apache/

Re: Best way to measure write throughput...

2013-12-18 Thread Jason Wee
Hello, you could also probably do it in your application? Just sample with an interval of time and that should give some indication of throughput. HTH /Jason On Thu, Dec 19, 2013 at 12:11 AM, Krishna Chaitanya wrote: > Hello, > > Could you please suggest to me the best way to measure write-thr

Re: help on backup muiltinode cluster

2013-12-07 Thread Jason Wee
Hmm... cassandra fundamental key features like fault tolerant, durable and replication. Just out of curiousity, why would you want to do backup? /Jason On Sat, Dec 7, 2013 at 3:31 AM, Robert Coli wrote: > On Fri, Dec 6, 2013 at 6:41 AM, Amalrik Maia wrote: > >> hey guys, I'm trying to take bac

Re: Write performance with 1.2.12

2013-12-06 Thread Jason Wee
Hi srmore, Perhaps if you use jconsole and connect to the jvm using jmx. Then uner MBeans tab, start inspecting the GC metrics. /Jason On Fri, Dec 6, 2013 at 11:40 PM, srmore wrote: > > > > On Fri, Dec 6, 2013 at 9:32 AM, Vicky Kak wrote: > >> Hard to say much without knowing about the cassa

Re: OOMs during high (read?) load in Cassandra 1.2.11

2013-12-06 Thread Jason Wee
Hi, Just taking a wild shot here, sorry if it does not help. Could it be thrown during reading the sstable? That is, try to find the configuration parameters for read operation, tune down a little for those settings. Also check on the the chunk_length_kb. http://www.datastax.com/documentation/cql

Re: Drop keyspace via CQL hanging on master/trunk.

2013-12-05 Thread Jason Wee
Hey Brian, just out of curiosity, why would you remove cassandra data directory entirely? /Jason On Fri, Dec 6, 2013 at 2:38 AM, Brian O'Neill wrote: > When running Cassandra from trunk/master, I see a drop keyspace command hang > at the CQL prompt. > > To reproduce: > 1) Removed my cassandra

Re: How to measure data transfer between data centers?

2013-12-04 Thread Jason Wee
Hi, Will it be simpler to just measure the network interface of the node instead? /Jason On Thu, Dec 5, 2013 at 10:57 AM, Jacob Rhoden wrote: > > > http://unix.stackexchange.com/questions/41765/traffic-stats-per-network-port > > __ > Sent from iPhone > > On 5 Dec 2

Re: bin/cqlsh is missing cqlshlib

2013-12-03 Thread Jason Wee
Hi, if you download the rpm from http://rpm.datastax.com/community/noarch/, example cassandra20-2.0.3-1.noarch.rpm , it should contain the cqlshlib and it is package into /usr/lib/python2.6/site-packages/cqlshlib hth /Jason On Tue, Dec 3, 2013 at 10:17 AM, Ritchie Iu wrote: > No, there is no

Re: bin/cqlsh is missing cqlshlib

2013-12-02 Thread Jason Wee
Check if you have the cqlshlib installed? For debian, it is located at /usr/share/pyshared/cqlshlib /Jason On Tue, Dec 3, 2013 at 5:42 AM, Ritchie Iu wrote: > Hello, > > I am trying to install and setup Cassandra on Fedora. So far I have > successfully installed it using Yum by following the s

Re: replica verification

2013-12-02 Thread Jason Wee
You could probably use one of these nodetool getendpoints- Print the end points that owns the key using cqlsh and desc keyspace; /Jason On Tue, Dec 3, 2013 at 12:16 AM, chandra Varahala < hadoopandcassan...@gmail.com> wrote: > Hello Team, > > > I have cassandra cluster with 5 nodes with

Re: Migration Cassandra 2.0 to Cassandra 2.0.2

2013-11-21 Thread Jason Wee
/Jason On Thu, Nov 21, 2013 at 6:32 PM, Bonnet Jonathan. < jonathan.bon...@externe.bnpparibas.com> wrote: > Jason Wee gmail.com> writes: > > > > > > > I had the same version upgrade path you had but using debian binary > package. Looks like it could be the

Re: Migration Cassandra 2.0 to Cassandra 2.0.2

2013-11-20 Thread Jason Wee
I had the same version upgrade path you had but using debian binary package. Looks like it could be the java cannot find the main class, try find out by executing ps and grep for the cassandra process, then it should show a lot of classpath, check if you apache-cassandra-2.0.2.jar in the classpath.

Re: Unsupported major.minor version 51.0

2013-09-17 Thread Jason Wee
Sorry, I have no knowledge on Node.js, probably someone else might know. Jason On Wed, Sep 18, 2013 at 11:29 AM, Gary Zhao wrote: > 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

Re: Unsupported major.minor version 51.0

2013-09-17 Thread Jason Wee
cassandra 2.0, then use oracle or open jdk version 7. Jason On Wed, Sep 18, 2013 at 11:21 AM, Gary Zhao wrote: > 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:+UseT

Re: HsHa

2013-08-21 Thread Jason Wee
Nature of issue CASSANDRA-4573 compare to "Read an invalid frame size of 0." looks different, nevertheless if someone can test the issue fix would include invalid frame size.. would be awesome! Jason On Wed, Aug 21, 2013 at 4:08 PM, Alain RODRIGUEZ wrote: > @Christopher, not sure if you notice

Re: org.apache.cassandra.io.sstable.CorruptSSTableException

2013-08-05 Thread Jason Wee
you can try nodetool scrub. if it does not work, try repair then cleanup. had this issue a few weeks back but our version is 1.0.x On Mon, Aug 5, 2013 at 8:12 AM, Keith Wright wrote: > Re-sending hoping to get some help. Any ideas would be much appreciated! > > From: Keith Wright > Date: Frid

Re: unable to compact large rows

2013-07-24 Thread Jason Wee
Would it possible to delete this row and reinsert this row? By the way, how large is that one row? Jason On Wed, Jul 24, 2013 at 9:23 AM, Paul Ingalls wrote: > I'm getting constant exceptions during compaction of large rows. In fact, > I have not seen one work, even starting from an empty DB.

Re: nodetool ring generate strange info

2013-05-10 Thread Jason Wee
same host, multiple cassandra instance? but looks wrong, what cassandra version? On Fri, May 10, 2013 at 3:19 PM, 杨辉强 wrote: > Hi, all > I use ./bin/nodetool -h 10.21.229.32 ring > > It generates lots of info of same host like this: > > 10.21.229.32 rack1 Up Normal 928.3 MB

Re: Really odd issue (AWS related?)

2013-04-26 Thread Jason Wee
top command? st : time stolen from this vm by the hypervisor jason On Fri, Apr 26, 2013 at 9:54 AM, Michael Theroux wrote: > Sorry, Not sure what CPU steal is :) > > I have AWS console with detailed monitoring enabled... things seem to > track close to the minute, so I can see the CPU load go t

Re: cql query not giving any result.

2013-03-15 Thread Jason Wee
Here is a list of keywords and whether or not the words are reserved. A reserved keyword cannot be used as an identifier unless you enclose the word in double quotation marks. Non-reserved keywords have a specific meaning in certain context but can be used as an identifier outside this context. ht

Re: migrating from SimpleStrategy to NetworkTopologyStrategy

2013-03-11 Thread Jason Wee
Probably also ensure port 7000 for the nodes to be reachable between nodes. Jason On Tue, Mar 12, 2013 at 4:11 AM, Dane Miller wrote: > Hi, > > I'd like to resurrect this thread from April 2012 - > > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/migrating-from-SimpleStrategy

Re: Need help

2013-03-08 Thread Jason Wee
Shouldn't be difficult to google what you want for starter... but here are some below, http://wiki.apache.org/cassandra/GettingStarted http://wiki.apache.org/cassandra/ClientOptions http://wiki.apache.org/cassandra/HadoopSupport http://www.slideshare.net/jeromatron/cassandrahadoop-integration Ja

Re: Cassandra automatic setup

2013-03-07 Thread Jason Wee
Hi, you can use cassandra-cli / cqlsh with option --file to load the ddl. or cassandra client..http://wiki.apache.org/cassandra/ClientOptions Jason On Fri, Mar 8, 2013 at 12:43 AM, vck wrote: > Hi, so we are just in the process of setting up dse cassandra to be used > for our services. > At t

Re: Cassandra OOM, many deletedColumn

2013-03-06 Thread Jason Wee
hmm.. did you managed to take a look using nodetool tpstats? That may give you indication further.. Jason On Thu, Mar 7, 2013 at 1:56 PM, 金剑 wrote: > Hi, > > My version is 1.1.7 > > Our use case is : we have a index columnfamily to record how many resource > is stored for a user. The number m

Re: Ghost nodes

2013-03-05 Thread Jason Wee
try assasinate from the jmx? http://nartax.com/2012/09/assassinate-cassandra-node/ or try cassandra -Dcassandra.load_ring_state=false http://www.datastax.com/docs/1.0/references/cassandra#options On Tue, Mar 5, 2013 at 6:54 PM, Alain RODRIGUEZ wrote: > Any clue on this ? > > > 2013/2/25 Alain

Re: Unable to instantiate cache provider org.apache.cassandra.cache.SerializingCacheProvider

2013-03-04 Thread Jason Wee
EWS.txt#L327 > > Also the row and key caches are now set globally not per CF > https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L324 > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > New Zealand > > @aaronmorton > http://www.th

Unable to instantiate cache provider org.apache.cassandra.cache.SerializingCacheProvider

2013-03-01 Thread Jason Wee
This happened sometime ago, but for the sake of helping others if they encounter, each column family has a row cache provider, you can read into the schema, for example : ... and row_cache_provider = 'SerializingCacheProvider' ... it cannot start the cache provider for a reason and as a result,

Re: Problem with CQL

2013-02-28 Thread Jason Wee
You need an equal operator in your query. For instance, SELECT * FROM users WHERE country = 'malaysia' age > 20 On Thu, Feb 28, 2013 at 10:04 PM, Everton Lima wrote: > Hello, > I was using cql 2. I have the following query: >SELECT * FROM users WHERE age > 20 AND age < 25; > > The table wa

  1   2   >