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 5E655DB61 for ; Mon, 13 Aug 2012 16:15:08 +0000 (UTC) Received: (qmail 52018 invoked by uid 500); 13 Aug 2012 16:15:05 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 51996 invoked by uid 500); 13 Aug 2012 16:15:05 -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 51988 invoked by uid 99); 13 Aug 2012 16:15:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2012 16:15:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of omidaladini@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2012 16:14:58 +0000 Received: by obbwc20 with SMTP id wc20so8367342obb.31 for ; Mon, 13 Aug 2012 09:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=KxtucLBGhfVn13b1aBxl/YwOCgJm4eIQPPx+7hSDckA=; b=CWgeQxW6oMGvaFjK12XlQfby/Ry9S7AHzkl5Cl55OICsuYKLpucsBR0oVD0z/6110q R/eLYDl6hlul2eGZJ7pPl7yC2M0WEihzdbIX5wCh2OJsN1Amk5kRPtLzsQ1gfLsjDPYe 96bXVHFDIysBpz3zFLnSp6VPQtlvwk01Ujfq/xJI+Ozu8asqkID8u9sjavHsOPm3uY2m njdewElAUclc1P+c+A4k9pp5Kri5Yr9xoCHvhI/30yVs2yxTYmaQyYiakDCnfrlBCKag X4qnRp4wjtZzCKL3zJ/+FmwZ222iNV7KVQlEj7oVKbWz0Qmm9JQzpoGHK7Woiyu36rgz vAcA== Received: by 10.182.111.74 with SMTP id ig10mr12883708obb.14.1344874477783; Mon, 13 Aug 2012 09:14:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.78.129 with HTTP; Mon, 13 Aug 2012 09:13:56 -0700 (PDT) In-Reply-To: References: From: Omid Aladini Date: Mon, 13 Aug 2012 18:13:56 +0200 Message-ID: Subject: Re: 1.1.3 crasch when initializing column family To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=14dae9399cef840aa304c727fd47 --14dae9399cef840aa304c727fd47 Content-Type: text/plain; charset=UTF-8 It works for me on Sun's jvm. It appears to be similar to: http://www-01.ibm.com/support/docview.wss?uid=swg1IV12627 Have you tried upgrading IBM's java or using Sun's? -- Omid On Mon, Aug 13, 2012 at 1:34 PM, Robert Hellmans wrote: > ** > Hi > > I'm trying the cassandra 1.1.3 on a DualCore SLES10SP4 32bit machine. The > setup is just one single node. The cassandra receives an exception (see > below) and cores when trying to initialize a keyspace/column family. I can > reproduce the crasch with the setup/config files included in the tar.gz. > distribution. > > > 1. remove any old crap from /var/lib/cassandra > 2. start the cassandra and observe output: bin/cassandra -f > 3. In another shell, exec bin/cassandra-cli -h 127.0.0.1 -f datadef.txt > > Where datadef.txt: > -------------------> > create keyspace tst4 > with placement_strategy = > 'org.apache.cassandra.locator.SimpleStrategy' > and strategy_options = {replication_factor:1}; > > use tst4; > > create column family dirs_ch > with comparator = AsciiType > and column_metadata = [ > { column_name:'str', validation_class:AsciiType}, > { column_name:'str1', validation_class:AsciiType}, > { column_name:'assoc_str', validation_class:AsciiType}]; > <---------------- > > > Here is (part) of the output from the when cassandra crasches: > -------------> > Unhandled > exception > > Type=Segmentation error > vmState=0x00000000 > J9Generic_Signal_Number=00000004 Signal_Number=0000000b > Error_Value=00000000 Signal_Code=00000001 > Handler1=B75B1443 Handler2=B758A859 > InaccessibleAddress=000000B4 > EDI=B760F560 ESI=71EC1532 EAX=00000022 > EBX=71D35BA0 > ECX=086050EC > EDX=00000080 > > EIP=B6584E15 ES=007B DS=007B ESP=08605080 > > EFlags=00010202 CS=0073 SS=007B > EBP=082FCB00 > Module=/usr/lib/jvm/java-1.6.0-ibm-1.6.0/jre/lib/i386/libjclscar_24.so > > Module_base_address=B653F000 > Symbol=sun_misc_Unsafe_getLong__Ljava_lang_Object_2J > Symbol_address=B6584DCC > > Target=2_40_20101124_069295 (Linux > 2.6.16.60-0.85.1-bigsmp) > CPU=x86 (2 logical CPUs) (0xf4ddb000 RAM) > <----------------------- > > > > > > If I do exactly the same but with the following file i.e just one less > column_metadata, cassandra survives. > -----------------------> > create keyspace tst4 > with placement_strategy = > 'org.apache.cassandra.locator.SimpleStrategy' > and strategy_options = {replication_factor:1}; > > use tst4; > > create column family dirs_ch > with comparator = AsciiType > and column_metadata = [ > { column_name:'str', validation_class:AsciiType}, > { column_name:'assoc_str', validation_class:AsciiType}]; > <----------------- > > > I've tried with Cassandra 1.0.9 and it is working just fine !!! > Any idea ?? > > rds /Robban > > > > > > > > --14dae9399cef840aa304c727fd47 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It works for me on Sun's jvm. It appears to be similar= to:=C2=A0


Have you tried upgrading IBM's java or using Sun= 9;s?=C2=A0

-- Omid

On Mon, Aug 13, 2012 at 1:34 PM, Robert Hellmans <<= a href=3D"mailto:robert.hellmans@aastra.com" target=3D"_blank">robert.hellm= ans@aastra.com> wrote:
Hi
=C2=A0
I'm trying the=20 cassandra 1.1.3 on=C2=A0a DualCore SLES10SP4 32bit machine. The setup is ju= st=20 one single node.=C2=A0 The cassandra receives an exception (see below) and = cores=20 when trying to initialize a keyspace/column family. I can reproduce the cra= sch=20 with the setup/config files included in the tar.gz. distribution.=C2=A0=20
=C2=A0
=C2=A0
1.=C2=A0remove any=20 old crap from /var/lib/cassandra
2.=C2=A0start the=20 cassandra and observe=C2=A0output: bin/cassandra -f
3.= In another shell, exec=20 bin/cassandra-cli -h 127.0.0.1 -f datadef.txt
=C2=A0
Where=20 datadef.txt:
------------------->
create keyspace=20 tst4
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 with placement_strategy =3D=20 'org.apache.cassandra.locator.SimpleStrategy'
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=20 and strategy_options =3D {replication_factor:1};
=C2=A0
use tst4;

create column family dirs_ch
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 with=20 comparator =3D AsciiType
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 and=20 column_metadata =3D [
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 { column_name= :'str',=20 validation_class:AsciiType},
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {=20 column_name:'str1',=20 validation_class:AsciiType},
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {=20 column_name:'assoc_str', validation_class:AsciiType}];
<= ;----------------
=C2=A0
=C2=A0
Here is (part) of=20 the output from the=C2=A0when cassandra=C2=A0crasches:
------------->
Unhandled=20 exception=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20
Type=3DSegmentation error=20 vmState=3D0x00000000=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20
J9Generic_Signal_Number=3D00000004 Signal_Number=3D0000000b Error_Value= =3D00000000=20 Signal_Code=3D00000001=C2=A0=C2=A0
Handler1=3DB75B1443 Handler2=3DB758A= 859=20 InaccessibleAddress=3D000000B4=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=20
EDI=3DB760F560 ESI=3D71EC1532 EAX=3D00000022=20 EBX=3D71D35BA0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20
Target=3D2_40_20101124_069295 (Linux=20 2.6.16.60-0.85.1-bigsmp)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20
CPU=3Dx86 (2 logical CPUs) (0xf4ddb000=20 RAM)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20
<-----------------------
=C2=A0
=C2=A0
=C2=A0
=C2=A0
=C2=A0
If I do exactly the=20 same but with the following file=C2=A0 i.e just one less=20 column_metadata,=C2=A0=C2=A0cassandra survives.
----------------------->
create keyspace=20 tst4
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 with placement_strategy =3D=20 'org.apache.cassandra.locator.SimpleStrategy'
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=20 and strategy_options =3D {replication_factor:1};
=
use tst4;

create column family=20 dirs_ch
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 with comparator =3D=20 AsciiType
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 and column_metadata =3D= =20 [
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 { column_name:'str',=20 validation_class:AsciiType},
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {=20 column_name:'assoc_str', validation_class:AsciiType}];
<= ;-----------------
= =C2=A0
=C2=A0
I've tried with=C2=A0Cassandra 1.= 0.9 and=C2=A0it is=20 working just fine !!!
Any idea ??
=C2=A0
rds /Robban
=C2=A0
=C2=A0
=C2=A0
=C2=A0
=C2=A0
=C2=A0
=C2=A0

--14dae9399cef840aa304c727fd47--