From user-return-33853-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed May 1 14:53:36 2013 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 94D9DFC82 for ; Wed, 1 May 2013 14:53:36 +0000 (UTC) Received: (qmail 61466 invoked by uid 500); 1 May 2013 14:53:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 61412 invoked by uid 500); 1 May 2013 14:53:34 -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 61402 invoked by uid 99); 1 May 2013 14:53:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 14:53:34 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.106.220.35] (HELO mail91.messagelabs.com) (194.106.220.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 14:53:28 +0000 X-Env-Sender: moshe.kranc@barclays.com X-Msg-Ref: server-2.tower-91.messagelabs.com!1367419985!13146869!1 X-Originating-IP: [157.83.97.243] X-StarScan-Received: X-StarScan-Version: 6.8.6.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13839 invoked from network); 1 May 2013 14:53:06 -0000 Received: from email13.barclays.com (HELO email.barclays.com) (157.83.97.243) by server-2.tower-91.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 1 May 2013 14:53:06 -0000 Received: from ([10.56.106.116]) by immeggcb201l.barclays.img.local with ESMTP with TLS id C77Z7P1.45982843; Wed, 01 May 2013 15:53:02 +0100 Received: from ([10.76.214.221]) by immeggcb602l.barclays.img.local with ESMTP id 2F1Z7P1.60344028; Wed, 01 May 2013 15:52:59 +0100 Received: from ldnpsmmgch02.INTRANET.BARCAPINT.COM (Not Verified[10.127.121.2]) by ldnpsmeg0000008.INTRANET.BARCAPINT.COM with Barclays Capital Filter ESMTP id ; Wed, 01 May 2013 15:52:59 +0100 Received: from LDNPCMMGMB01.INTRANET.BARCAPINT.COM ([169.254.1.201]) by ldnpsmmgch02.INTRANET.BARCAPINT.COM ([10.127.121.2]) with mapi; Wed, 1 May 2013 15:52:58 +0100 To: Date: Wed, 1 May 2013 15:52:57 +0100 Subject: RE: Repair session failed Thread-Topic: Repair session failed Thread-Index: Ac5GerU7NdXz9jlaR7WtmPqWPMNzJwAAFG+Q Message-ID: <84B566FB5B7B244B81E6F1FEADA9087701D8CA8916@LDNPCMMGMB01.INTRANET.BARCAPINT.COM> References: In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_84B566FB5B7B244B81E6F1FEADA9087701D8CA8916LDNPCMMGMB01I_" MIME-Version: 1.0 x-cibwm-mm: cibwm From: X-Virus-Checked: Checked by ClamAV on apache.org --_000_84B566FB5B7B244B81E6F1FEADA9087701D8CA8916LDNPCMMGMB01I_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sounds like a job for "nodetool scrub", which rewrites the SStable rows i= n the correct order. After the scrub, nodetool repair should succeed. From: Haithem Jarraya [mailto:haithem.jarraya@struq.com] Sent: Wednesday, May 01, 2013 5:46 PM To: user@cassandra.apache.org Subject: Repair session failed Hi, I am seeing this error message during repair, =20INFO [AntiEntropyStage:1] 2013-05-01 14:30:54,300 AntiEntropyService.j= ava (line 764) [repair #ed104480-b26a-11e2-af9b-05179fa66b76] mycolumnfam= ily is fully synced (1 remaining column family to sync for this session) ERROR [Thread-12725] 2013-05-01 14:30:54,304 StorageService.java (line 24= 20) Repair session failed: java.lang.IllegalArgumentException: Requested range intersects a local ra= nge but is not fully contained in one; this would lead to imprecise repai= r =20 at org.apache.cassandra.service.AntiEntropyService.getNeighbors= (AntiEntropyService.java:175) =20 at org.apache.cassandra.service.AntiEntropyService$RepairSessio= n.(AntiEntropyService.java:621) =20 at org.apache.cassandra.service.AntiEntropyService$RepairSessio= n.(AntiEntropyService.java:610) =20 at org.apache.cassandra.service.AntiEntropyService.submitRepair= Session(AntiEntropyService.java:127) =20 at org.apache.cassandra.service.StorageService.forceTableRepair= (StorageService.java:2480) =20 at org.apache.cassandra.service.StorageService$4.runMayThrow(St= orageService.java:2416) =20 at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnab= le.java:28) =20 at java.util.concurrent.Executors$RunnableAdapter.call(Executor= s.java:439) =20 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.jav= a:303) =20 at java.util.concurrent.FutureTask.run(FutureTask.java:138) =20 at java.lang.Thread.run(Thread.java:662) what does it mean imprecise repair? Is it maybe because I went over the gcgrade period? What you do if you go over that period? Any hint will be valuable, Also I noticed when I run a repair on different node, I see a message lik= e this [2013-05-01 14:30:54,305] Starting repair command #5, repairing 1120 rang= es for keyspace struqrealtime I have couple of questions, why I have repair command #5? And why the ranges values changes from one node to another? Many Thanks, H _______________________________________________ This message is for information purposes only, it is not a recommendation= , advice, offer or solicitation to buy or sell a product or service nor a= n official confirmation of any transaction. It is directed at persons who= =20are professionals and is not intended for retail customer use. Intende= d for recipient only. This message is subject to the terms at: www.barcla= ys.com/emaildisclaimer. For important disclosures, please see: www.barclays.com/salesandtradingdi= sclaimer regarding market commentary from Barclays Sales and/or Trading, = who are active market participants; and in respect of Barclays Research, = including disclosures relating to specific issuers, please see http://pub= licresearch.barclays.com. _______________________________________________ --_000_84B566FB5B7B244B81E6F1FEADA9087701D8CA8916LDNPCMMGMB01I_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Sound= s like a job for “nodetool scrub”, which rewrites the SStable= =20rows in the correct order. After the scrub, nodetool repair should suc= ceed.

 

From: Haithem Jarraya [mail= to:haithem.jarraya@struq.com]
Sent: Wednesday, May 01, 2013 5:= 46 PM
To: user@cassandra.apache.org
Subject: Repair s= ession failed

 =

Hi, 

 

I am se= eing this error message during repair,

 

&nb= sp;INFO [AntiEntropyStage:1] 2013-05-01 14:30:54,300 AntiEntropyService.j= ava (line 764) [repair #ed104480-b26a-11e2-af9b-05179fa66b76] mycolumnfam= ily is fully synced (1 remaining column family to sync for this session)<= o:p>

ERROR [Thread-12725] 2013-0= 5-01 14:30:54,304 StorageService.java (line 2420) Repair session failed:<= o:p>

java.lang.IllegalArgumentEx= ception: Requested range intersects a local range but is not fully contai= ned in one; this would lead to imprecise repair

=

        at org.apache.cassandra.= service.AntiEntropyService.getNeighbors(AntiEntropyService.java:175)=

        at = org.apache.cassandra.service.AntiEntropyService$RepairSession.<init>= ;(AntiEntropyService.java:621)

        at org.apache.cassandra.service.AntiEntro= pyService$RepairSession.<init>(AntiEntropyService.java:610)

        at org= .apache.cassandra.service.AntiEntropyService.submitRepairSession(AntiEntr= opyService.java:127)

 = =20      at org.apache.cassandra.service.StorageService.fo= rceTableRepair(StorageService.java:2480)

        at org.apache.cassandra.service= .StorageService$4.runMayThrow(StorageService.java:2416)

        at org.apache.ca= ssandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)

=

        at java.util.= concurrent.Executors$RunnableAdapter.call(Executors.java:439)<= /p>

        at java.ut= il.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

        at java.util= .concurrent.FutureTask.run(FutureTask.java:138)

=

        at java.lang.Thread.run(= Thread.java:662)

 = ;

 

what does it mean imprecise repair?

Is it maybe because I went over the= =20gcgrade period?

What you= =20do if you go over that period?

Any hint will be valuable, 

Also I noticed when I run a repair on different node, I see = a message like this

 

[2013-05-01 14:30:54,3= 05] Starting repair command #5, repairing 1120 ranges for keyspace struqr= ealtime

 

I have couple of questions, why I have = repair command #5?

And why = the ranges values changes from one node to another?

<= div>

 

 

Many Than= ks,

 

H

_______________________________________________

This message is for information purposes only, it is not a recommendat= ion,=20 advice, offer or solicitation to buy or sell a product or service nor an = official confirmation of any transaction. It is directed at persons who a= re=20 professionals and is not intended for retail customer use. Intended for=20 recipient only. This message is subject to the terms at: www.barclays.com/emaildi= sclaimer.

For important disclosures, please see: www.barclays.c= om/salesandtradingdisclaimer=20 regarding market commentary from Barclays Sales and/or Trading, who are a= ctive=20 market participants; and in respect of Barclays Research, including discl= osures=20 relating to specific issuers, please see http://publicresearch.barclay= s.com.

_______________________________________________

--_000_84B566FB5B7B244B81E6F1FEADA9087701D8CA8916LDNPCMMGMB01I_--