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 F0B851032E for ; Tue, 23 Jul 2013 20:13:26 +0000 (UTC) Received: (qmail 37957 invoked by uid 500); 23 Jul 2013 20:13:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37935 invoked by uid 500); 23 Jul 2013 20:13:24 -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 37923 invoked by uid 99); 23 Jul 2013 20:13:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 20:13:24 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.174.58.134] (HELO XEDGEA.nrel.gov) (192.174.58.134) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 20:13:18 +0000 Received: from XHUBA.nrel.gov (10.20.4.58) by XEDGEA.nrel.gov (192.174.58.134) with Microsoft SMTP Server (TLS) id 8.3.298.1; Tue, 23 Jul 2013 14:12:45 -0600 Received: from MAILBOX2.nrel.gov ([fe80::48b0:b121:8465:5e5]) by XHUBA.nrel.gov ([::1]) with mapi; Tue, 23 Jul 2013 14:12:56 -0600 From: "Hiller, Dean" To: "user@cassandra.apache.org" Date: Tue, 23 Jul 2013 14:13:04 -0600 Subject: Re: cassandra 1.2.6 -> Start key's token sorts after end token Thread-Topic: cassandra 1.2.6 -> Start key's token sorts after end token Thread-Index: Ac6H4QT7KHH/janBTyuG0z3iO2f5Fg== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.5.130515 acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Perhaps try 0.20.2 as 1. The maven pom files have cassandra depending on 0.20.2 2. The 0.20.2 default was murmur and we had to change it to random partit= ioner or it wouldn't work for us Ie. I suspect they will change the pom file to a more recent version of had= oop at some point but I wonder if test suites suck in 0.20.2 because the po= m file points to that version=85.depends on if they actually have tests for= map/reduce which is probably a bit hard. Dean From: Marcelo Elias Del Valle > Reply-To: "user@cassandra.apache.org" > Date: Tuesday, July 23, 2013 1:54 PM To: "user@cassandra.apache.org" > Subject: Re: cassandra 1.2.6 -> Start key's token sorts after end token Dean, I am using hadoop 1.0.3. Indeed, using Cassandra 1.2.3 with Random partitioner, it worked. Howev= er, it's the only reason for me to use randompartitioner, I really would li= ke to move forward. Besides, I tried to use Cassandra 1.2.6 with RandomPart= itioner and I got problems when inserting data, even stopping Cassandra, cl= eaning my entire data folder and then starting it again. I am also really curious to know if there is anyone else having these p= roblems or if it is just me... Best regards, Marcelo. 2013/7/23 Hiller, Dean > Out of curiosity, what version of hadoop are you using with cassandra? I t= hink we are trying 0.20.2 if I remember(I have to ask my guy working on it = to be sure). I do remember him saying the cassandra maven dependency was o= dd in that it is in the older version and not a newer hadoop version. We are using RandomPartitioner though right now which I have personally use= d in the past with success. We are in the process of map/reducing to a cas= sandra with MurmurPartitioner (our real reason to map/reduce is some refac= torings in our model though and we just thought we would switch to murmur). Has anyone else used map/reduce with murmur partitioner? Dean From: Marcelo Elias Del Valle >> Reply-To: "user@cassandra.apache.org>" >> Date: Monday, July 22, 2013 4:04 PM To: "user@cassandra.apache.org>" >> Subject: cassandra 1.2.6 -> Start key's token sorts after end token Hello, I am trying to figure what might be cause this error. I am using Cassan= dra 1.2.6 (tried with 1.2.3 as well) and I am trying to read data from cass= andra on hadoop using column family input format. I also got the same error= using pure astyanax on a test. I am using Murmur3Partitioner and I created the keyspace using Cassandr= a 1.2.6, there is nothing from prior versions. I created the keyspace with = SimpleStrategy and replication factor 1. Here is the exception I am getting: 2013-07-22 21:53:05,824 WARN org.apache.hadoop.mapred.Child (main): Error r= unning child java.lang.RuntimeException: InvalidRequestException(why:Start key's token s= orts after end token) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$WideRowIterator.may= beInit(ColumnFamilyRecordReader.java:453) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$WideRowIterator.com= puteNext(ColumnFamilyRecordReader.java:459) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$WideRowIterator.com= puteNext(ColumnFamilyRecordReader.java:406) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIter= ator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java= :138) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader.getProgress(ColumnF= amilyRecordReader.java:103) at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.getProgress(Map= Task.java:522) at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(Ma= pTask.java:547) at org.apache.hadoop.mapreduce.MapContext.nextKeyValue(MapContext.java:67) at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:771) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:375) at org.apache.hadoop.mapred.Child$4.run(Child.java:255) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformatio= n.java:1132) at org.apache.hadoop.mapred.Child.main(Child.java:249) Caused by: InvalidRequestException(why:Start key's token sorts after end to= ken) at org.apache.cassandra.thrift.Cassandra$get_paged_slice_result.read(Cassan= dra.java:14168) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at org.apache.cassandra.thrift.Cassandra$Client.recv_get_paged_slice(Cassan= dra.java:769) at org.apache.cassandra.thrift.Cassandra$Client.get_paged_slice(Cassandra.j= ava:753) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$WideRowIterator.may= beInit(ColumnFamilyRecordReader.java:438) ... 16 more 2013-07-22 21:53:05,828 INFO org.apache.hadoop.mapred.Task (main): Runnning= cleanup for the task Any hint? Best regards, -- Marcelo Elias Del Valle http://mvalle.com - @mvallebr -- Marcelo Elias Del Valle http://mvalle.com - @mvallebr