Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0995810E2B for ; Wed, 18 Sep 2013 18:08:22 +0000 (UTC) Received: (qmail 74937 invoked by uid 500); 18 Sep 2013 18:08:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74808 invoked by uid 500); 18 Sep 2013 18:08:13 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 74800 invoked by uid 99); 18 Sep 2013 18:08:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 18:08:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oifa.yulian@gmail.com designates 209.85.160.42 as permitted sender) Received: from [209.85.160.42] (HELO mail-pb0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 18:08:08 +0000 Received: by mail-pb0-f42.google.com with SMTP id un15so7369725pbc.15 for ; Wed, 18 Sep 2013 11:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wDHUo7XnyBNNd/AYW6WyobDfIZdRcETIjX0otRj/BcI=; b=KpkUT6GIsL3+UBB2PiUo+xPYGRmvsv1wtdLGOMDRaecnLOMTl6xU/AKa7ZTJ1FgdtN ALTsxuc4j3WmLuzlQNZLk4Ho14M8ZHIoMSB61E0DT7MJG//jF7Ssx/RNRJoSPZh/P/i5 WNa+rCmkBng9iXiZgJVUJTI7qdWS2uc7NMRtjjYtcKBjXM4FlDdUg47U4nWgqUGDA58S fAScL5Ue4J1wirhVrucn3gCxbTnF2AQtQoC87fCIh9r8gzJY5n8MbM9fCE8QFlE73CtJ wUVm1GT85UnWI9yE5wQMD4VIs1JyfkZ/D2JxXIkdvYuVnT2DjYzzc/YLAl/xDRSCrvQp GXDA== MIME-Version: 1.0 X-Received: by 10.66.234.131 with SMTP id ue3mr43456009pac.35.1379527667601; Wed, 18 Sep 2013 11:07:47 -0700 (PDT) Received: by 10.70.92.72 with HTTP; Wed, 18 Sep 2013 11:07:47 -0700 (PDT) Date: Wed, 18 Sep 2013 21:07:47 +0300 Message-ID: Subject: Problem with counter columns From: Yulian Oifa To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b15a2b195ef9004e6ac502a X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15a2b195ef9004e6ac502a Content-Type: text/plain; charset=ISO-8859-1 Hello to all i am using counter columns in cassandra cluster with 3 nodes. all 3 nodes are up and synchronized with ntp timeserver , same with client. I am using libthrift java client. Current problem i am having is that part of writes to counter columns simply disappears ( most of time different values are added so i am able to follow what missed and what not ).Approximately 40-50% of add requests disappears. So for example if initial value is 1 , and i want to add 1 , 2 , 3 i would expect final result on 7 , but it will return me the value 5 since add(2) will be lost ( no exception is thrown ). I did not disabled replica on write ( it is set to true ): ColumnFamily: subscriptionsCounters Key Validation Class: org.apache.cassandra.db.marshal.TimeUUIDType Default column value validator: org.apache.cassandra.db.marshal.CounterColumnType Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type Row cache size / save period in seconds: 0.0/0 Row Cache Provider: org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider Key cache size / save period in seconds: 200000.0/14400 Memtable thresholds: 1.1484375/1440/245 (millions of ops/minutes/MB) GC grace seconds: 864000 Compaction min/max thresholds: 4/32 Read repair chance: 1.0 Replicate on write: true Built indexes: [] Also i dont see anything in log in any not , neither warning nor error. I am writing data with Local QUORUM Consistency Level since it stopped working with one. same with read operations. Current cassandra version is 0.8.10. How can i debug , find the problem???? Thanks and best regards Yulian Oifa --047d7b15a2b195ef9004e6ac502a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello to all
i am using counter columns in cassandra cluster with 3 nodes.
= all 3 nodes are up and synchronized with ntp timeserver , same with client.=
I am using libthrift java client.

Current problem i am having = is that part of writes to counter columns simply disappears ( most of time = different values are added so i am able to follow what missed and what not = ).Approximately 40-50% of add requests disappears.

So for example if initial value is 1 , and i want to add 1 ,= 2 , 3 i would expect final result on 7 , but it will return me the value 5= since add(2) will be lost ( no exception is thrown ).

I did not disabled replica on write ( it is set to true ):

Col= umnFamily: subscriptionsCounters
=A0=A0=A0=A0=A0 Key Validation Class: o= rg.apache.cassandra.db.marshal.TimeUUIDType
=A0=A0=A0=A0=A0 Default colu= mn value validator: org.apache.cassandra.db.marshal.CounterColumnType
=A0=A0=A0=A0=A0 Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type=
=A0=A0=A0=A0=A0 Row cache size / save period in seconds: 0.0/0
=A0= =A0=A0=A0=A0 Row Cache Provider: org.apache.cassandra.cache.ConcurrentLinke= dHashCacheProvider
=A0=A0=A0=A0=A0 Key cache size / save period in secon= ds: 200000.0/14400
=A0=A0=A0=A0=A0 Memtable thresholds: 1.1484375/1440/245 (millions of ops/mi= nutes/MB)
=A0=A0=A0=A0=A0 GC grace seconds: 864000
=A0=A0=A0=A0=A0 Co= mpaction min/max thresholds: 4/32
=A0=A0=A0=A0=A0 Read repair chance: 1.= 0
=A0=A0=A0=A0=A0 Replicate on write: true
=A0=A0=A0=A0=A0 Built indexes: []


Also i dont see anything= in log in any not , neither warning nor error.
I am writing data = with Local QUORUM Consistency Level since it stopped working with one.
<= /div>same with read operations.


Current cassandra version is 0.8.10.

H= ow can i debug , find the problem????

Thanks and best reg= ards
Yulian Oifa
--047d7b15a2b195ef9004e6ac502a--