Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 84051 invoked from network); 17 Feb 2011 17:33:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 17:33:19 -0000 Received: (qmail 92185 invoked by uid 500); 17 Feb 2011 17:33:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91997 invoked by uid 500); 17 Feb 2011 17:33:14 -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 91989 invoked by uid 99); 17 Feb 2011 17:33:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 17:33:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.32.180.13] (HELO VA3EHSOBE003.bigfish.com) (216.32.180.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 17:33:03 +0000 Received: from mail14-va3-R.bigfish.com (10.7.14.244) by VA3EHSOBE003.bigfish.com (10.7.40.23) with Microsoft SMTP Server id 14.1.225.8; Thu, 17 Feb 2011 17:32:41 +0000 Received: from mail14-va3 (localhost.localdomain [127.0.0.1]) by mail14-va3-R.bigfish.com (Postfix) with ESMTP id 3DC0A158051A for ; Thu, 17 Feb 2011 17:32:41 +0000 (UTC) X-SpamScore: -22 X-BigFish: VS-22(zzbb2dKbb2cK62a3Lbf2R168aJzz1202hzz8275bh8275dhz2dh87h2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:IE2RD2HUB019.red002.local;RD:none;EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail14-va3 (localhost.localdomain [127.0.0.1]) by mail14-va3 (MessageSwitch) id 1297963959241116_8372; Thu, 17 Feb 2011 17:32:39 +0000 (UTC) Received: from VA3EHSMHS031.bigfish.com (unknown [10.7.14.250]) by mail14-va3.bigfish.com (Postfix) with ESMTP id 37F96960050 for ; Thu, 17 Feb 2011 17:32:39 +0000 (UTC) Received: from IE2RD2HUB019.red002.local (213.199.187.153) by VA3EHSMHS031.bigfish.com (10.7.99.41) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 17 Feb 2011 17:32:38 +0000 Received: from IE2RD2XVS021.red002.local ([10.33.56.26]) by IE2RD2HUB019.red002.local ([10.43.198.97]) with mapi; Thu, 17 Feb 2011 09:32:37 -0800 From: Roland Gude To: "user@cassandra.apache.org" CC: Juergen Link Date: Thu, 17 Feb 2011 09:32:32 -0800 Subject: AW: cant seem to figure out secondary index definition Thread-Topic: cant seem to figure out secondary index definition Thread-Index: AcvNJDpETbJ+kkC3SqeS6/DztceMfABo7aug Message-ID: <120CB7532EA53A4D8CA6B63F94B4ADB351E4F6E244@IE2RD2XVS021.red002.local> References: <120CB7532EA53A4D8CA6B63F94B4ADB351E4C36CB3@IE2RD2XVS021.red002.local> <120CB7532EA53A4D8CA6B63F94B4ADB351E4C36D41@IE2RD2XVS021.red002.local> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: multipart/alternative; boundary="_000_120CB7532EA53A4D8CA6B63F94B4ADB351E4F6E244IE2RD2XVS021r_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_120CB7532EA53A4D8CA6B63F94B4ADB351E4F6E244IE2RD2XVS021r_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi again, i am still having trouble with this. If I define the index using cli with these commands: create column family A with column_type=3D'Standard' and comparator=3D'Time= UUIDType' and keys_cached=3D200000 and read_repair_chance=3D1.0 and rows_ca= ched=3D0.0 and column_metadata=3D[{column_name: 00000000-0000-1000-0000-000= 000000000, validation_class: UTF8Type, index_name: MyIndex, index_type: KEY= S}]; create column family B with column_type=3D'Standard' and comparator=3D'Time= UUIDType' and keys_cached=3D200000 and read_repair_chance=3D1.0 and rows_ca= ched=3D0.0 and column_metadata=3D[{column_name: 00000000-0000-1000-0000-000= 000000000, validation_class: UTF8Type, index_name: MyIndex, index_type: KEY= S}]; I can do IndexedSliceQueries as expected In my unit tests where I use an embedded Cassandra instance configured via = yaml like this: - column_metadata: [{name: 00000000-0000-1000-0000-000000000000, validato= r_class: UTF8Type, index_name: MyIndex, index_type: KEYS}] compare_with: TimeUUIDType gc_grace_seconds: 864000 keys_cached: 0.0 max_compaction_threshold: 32 min_compaction_threshold: 4 name: A read_repair_chance: 1.0 rows_cached: 0.0 - column_metadata: [{name: 00000000-0000-1000-0000-000000000000, validato= r_class: UTF8Type, index_name: MyIndex, index_type: KEYS}] compare_with: TimeUUIDType gc_grace_seconds: 864000 keys_cached: 0.0 max_compaction_threshold: 32 min_compaction_threshold: 4 name: B read_repair_chance: 1.0 rows_cached: 0.0 I get these Exceptions: 18:23:55.973 [CassandraDataFetcher-queries] ERROR c.y.s.c.i.event.Cassandra= DataFetcher - Query me.prettyprint.cassandra.model.IndexedSlicesQuery@1bbd3= e2 failed, stop query. me.prettyprint.hector.api.exceptions.HInvalidRequestException: InvalidReque= stException(why:No indexed columns present in index clause with operator EQ= ) at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translat= e(ExceptionsTranslatorImpl.java:42) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.service.KeyspaceServiceImpl$12.execute(Ke= yspaceServiceImpl.java:513) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.service.KeyspaceServiceImpl$12.execute(Ke= yspaceServiceImpl.java:495) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Ope= ration.java:101) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.connection.HConnectionManager.operateWith= Failover(HConnectionManager.java:161) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFa= ilover(KeyspaceServiceImpl.java:129) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.service.KeyspaceServiceImpl.getIndexedSli= ces(KeyspaceServiceImpl.java:517) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.model.IndexedSlicesQuery$1.doInKeyspace(I= ndexedSlicesQuery.java:140) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.model.IndexedSlicesQuery$1.doInKeyspace(I= ndexedSlicesQuery.java:131) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeysp= aceAndMeasure(KeyspaceOperationCallback.java:20) ~[hector-core-0.7.0-26.jar= :na] at me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(Executi= ngKeyspace.java:85) ~[hector-core-0.7.0-26.jar:na] at me.prettyprint.cassandra.model.IndexedSlicesQuery.execute(IndexedS= licesQuery.java:130) ~[hector-core-0.7.0-26.jar:na] at com.yoochoose.services.cassandra.internal.event.CassandraDataFetch= er$1.onMessage(CassandraDataFetcher.java:60) [classes/:na] at com.yoochoose.services.cassandra.internal.event.CassandraDataFetch= er$1.onMessage(CassandraDataFetcher.java:47) [classes/:na] at org.jetlang.channels.ChannelSubscription$1.run(ChannelSubscription= .java:31) [jetlang-0.2.1.jar:na] at org.jetlang.core.BatchExecutorImpl.execute(BatchExecutorImpl.java:= 11) [jetlang-0.2.1.jar:na] at org.jetlang.core.RunnableExecutorImpl.run(RunnableExecutorImpl.jav= a:34) [jetlang-0.2.1.jar:na] at org.jetlang.fibers.ThreadFiber.runThread(ThreadFiber.java:51) [jet= lang-0.2.1.jar:na] at org.jetlang.fibers.ThreadFiber.access$000(ThreadFiber.java:10) [je= tlang-0.2.1.jar:na] at org.jetlang.fibers.ThreadFiber$1.run(ThreadFiber.java:27) [jetlang= -0.2.1.jar:na] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_17] Caused by: org.apache.cassandra.thrift.InvalidRequestException: null at org.apache.cassandra.thrift.Cassandra$get_indexed_slices_result.re= ad(Cassandra.java:13299) ~[cassandra-all-0.7.0.jar:0.7.0] at org.apache.cassandra.thrift.Cassandra$Client.recv_get_indexed_slic= es(Cassandra.java:780) ~[cassandra-all-0.7.0.jar:0.7.0] at org.apache.cassandra.thrift.Cassandra$Client.get_indexed_slices(Ca= ssandra.java:752) ~[cassandra-all-0.7.0.jar:0.7.0] at me.prettyprint.cassandra.service.KeyspaceServiceImpl$12.execute(Ke= yspaceServiceImpl.java:501) ~[hector-core-0.7.0-26.jar:na] ... 19 common frames omitted With the very same code and data. I assume that the column name I give in Cassandra.yaml is somehow not inmte= rpreted as a TimedUUID or something. Any help would be greatly appreciated Greetings, roland Von: Michal August=FDn [mailto:augustyn.michal@gmail.com] Gesendet: Dienstag, 15. Februar 2011 16:22 An: user@cassandra.apache.org Betreff: Re: cant seem to figure out secondary index definition Ah, ok. I checked that in source and the problem is that you wrote "validat= ion_class" but you should "validator_class". Augi 2011/2/15 Roland Gude > Yeah i know about that, but the definition i have is for a cluster that is = started/stopped from a unit test with hector embeddedServerHelper, which ta= kes definitions from the yaml. So i'd still like to define the index in the yaml file (it should very well= be possible I guess) Von: Michal August=FDn [mailto:augustyn.michal@gmail.com] Gesendet: Dienstag, 15. Februar 2011 15:53 An: user@cassandra.apache.org Betreff: Re: cant seem to figure out secondary index definition Hi, if you download Cassandra and look into "conf/cassandra.yaml" then you can = see this: "this keyspace definition is for demonstration purposes only. Cassandra wil= l not load these definitions during startup. See http://wiki.apache.org/cas= sandra/FAQ#no_keyspaces for an explanation." So you should make all schema-related operation via Thrift/AVRO API, or you= can use Cassandra CLI. Augi 2011/2/15 Roland Gude > Hi, i am a little puzzled on creation of secondary indexes and the docs in that= area are still very sparse. What I am trying to do is - in a columnfamily with TimeUUID comparator, I w= ant the "special" timeuuid 00000000-0000-1000-0000-000000000000 to be index= ed. The value being some UTF8 string on which I want to perform equality ch= ecks. What do I need to put in my cassandra.yaml file? Something like this? - column_metadata: [{name: 00000000-0000-1000-0000-000000000000, validati= on_class: UTF8Type, index_name: MyIndex, index_type: KEYS}] This gives me that error: 15:05:12.492 [pool-1-thread-1] ERROR o.a.c.config.DatabaseDescriptor - Fata= l error: null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=3DCannot create prop= erty=3Dkeyspaces for JavaBean=3Dorg.apache.cassandra.config.Config@7eb6e2; = Cannot create property=3Dcolumn_families for JavaBean=3Dorg.apache.cassandr= a.config.RawKeyspace@987a33; Cannot create property=3Dcolumn_metadata for J= avaBean=3Dorg.apache.cassandra.config.RawColumnFamily@716cb7; Cannot create= property=3Dvalidation_class for JavaBean=3Dorg.apache.cassandra.config.Raw= ColumnDefinition@e29820; Unable to find property 'validation_class' on clas= s: org.apache.cassandra.config.RawColumnDefinition Bad configuration; unable to start server I am furthermor uncertain if the column name will be correctly used if give= n like this. Should I put the byte representation of the uuid there? Greetings, roland -- YOOCHOOSE GmbH Roland Gude Software Engineer Im Mediapark 8, 50670 K=F6ln +49 221 4544151 (Tel) +49 221 4544159 (Fax) +49 171 7894057 (Mobil) Email: roland.gude@yoochoose.com WWW: www.yoochoose.com YOOCHOOSE GmbH Gesch=E4ftsf=FChrer: Dr. Uwe Alkemper, Michael Friedmann Handelsregister: Amtsgericht K=F6ln HRB 65275 Ust-Ident-Nr: DE 264 773 520 Sitz der Gesellschaft: K=F6ln --_000_120CB7532EA53A4D8CA6B63F94B4ADB351E4F6E244IE2RD2XVS021r_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi again,

<= o:p> 

i am st= ill having trouble with this.

If I define the index using cli with these commands:<= /o:p>

create column f= amily A with column_type=3D'Standard' and comparator=3D'TimeUUIDType' and k= eys_cached=3D200000 and read_repair_chance=3D1.0 and rows_cached=3D0.0 and = column_metadata=3D[{column_name: 00000000-0000-1000-0000-000000000000, vali= dation_class: UTF8Type, index_name: MyIndex, index_type: KEYS}];=

create column family = B with column_type=3D'Standard' and comparator=3D'TimeUUIDType' and keys_ca= ched=3D200000 and read_repair_chance=3D1.0 and rows_cached=3D0.0 and column= _metadata=3D[{column_name: 00000000-0000-1000-0000-000000000000, validation= _class: UTF8Type, index_name: MyIndex, index_type: KEYS}];

 

I can do IndexedSliceQueries as= expected

<= o:p> 

In my= unit tests where I use an embedded Cassandra instance configured via yaml = like this:

=A0 - column_metadata: [{name: 00000000-0000-1000-0000-000000000000, v= alidator_class: UTF8Type, index_name: MyIndex, index_ty= pe: KEYS}]

=A0=A0=A0 compare_with: TimeUUIDType

=A0=A0=A0 gc_grace_seconds: 864000=

=A0=A0=A0 = keys_cached: 0.0

=A0=A0=A0 max_compaction_threshold: 32

=A0=A0=A0 min_compaction_thresh= old: 4

=A0=A0=A0 name: A

=A0=A0=A0 read_repair_chance: 1.0

=A0=A0=A0 rows_cached: 0.0

=A0 - column_= metadata: [{name: 00000000-0000-1000-0000-000000000000, validator_class: UT= F8Type, index_name: MyIndex, index_type: KEYS}]

=A0=A0=A0 co= mpare_with: TimeUUIDType

=A0=A0=A0 gc_grace_seconds: 864000

=

=A0=A0=A0 keys_cached: 0.0<= o:p>

=A0=A0= =A0 max_compaction_threshold: 32

=A0=A0=A0 min_compaction_threshold: 4=

=A0=A0=A0 name: = B

<= span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Courier New"'>=A0= =A0=A0 read_repair_chance: 1.0

=A0=A0=A0 rows_cached: 0.0

 

I get these Exceptions:<= /p>

 

18:23:55.973 [CassandraDataFet= cher-queries] ERROR c.y.s.c.i.event.CassandraDataFetcher - Query me.prettyp= rint.cassandra.model.IndexedSlicesQuery@1bbd3e2 failed, stop query.

me.prettyprin= t.hector.api.exceptions.HInvalidRequestException: InvalidRequestException(w= hy:No indexed columns present in index clause with operator EQ)<= /span>

=A0=A0=A0=A0=A0 a= t me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(Excep= tionsTranslatorImpl.java:42) ~[hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0=A0 at me= .prettyprint.cassandra.service.KeyspaceServiceImpl$12.execute(KeyspaceServi= ceImpl.java:513) ~[hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0=A0 at me.prettyprint= .cassandra.service.KeyspaceServiceImpl$12.execute(KeyspaceServiceImpl.java:= 495) ~[hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0=A0 at me.prettyprint.cassandra.s= ervice.Operation.executeAndSetResult(Operation.java:101) ~[hector-core-0.7.= 0-26.jar:na]

=A0=A0=A0=A0=A0 at me.prettyprint.cassandra.connection.HConnectionMa= nager.operateWithFailover(HConnectionManager.java:161) ~[hector-core-0.7.0-= 26.jar:na]

=A0=A0=A0=A0=A0 at me.prettyprint.cassandra.service.KeyspaceServiceImp= l.operateWithFailover(KeyspaceServiceImpl.java:129) ~[hector-core-0.7.0-26.= jar:na]

<= span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Courier New"'>=A0= =A0=A0=A0=A0 at me.prettyprint.cassandra.model.IndexedSlicesQuery$1.doInKey= space(IndexedSlicesQuery.java:140) ~[hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0= =A0 at me.prettyprint.cassandra.model.IndexedSlicesQuery$1.doInKeyspace(Ind= exedSlicesQuery.java:131) ~[hector-core-0.7.0-26.jar:na]<= /p>

=A0=A0=A0=A0=A0 at me.pr= ettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(= KeyspaceOperationCallback.java:20) ~[hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0= =A0 at me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(Executing= Keyspace.java:85) ~[hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0=A0 at me.prettyprin= t.cassandra.model.IndexedSlicesQuery.execute(IndexedSlicesQuery.java:130) ~= [hector-core-0.7.0-26.jar:na]

=A0=A0=A0=A0=A0 at com.yoochoose.services.cassandra= .internal.event.CassandraDataFetcher$1.onMessage(CassandraDataFetcher.java:= 60) [classes/:na]

=A0=A0=A0=A0=A0 at com.yoochoose.services.cassandra.internal.ev= ent.CassandraDataFetcher$1.onMessage(CassandraDataFetcher.java:47) [classes= /:na]

= =A0=A0=A0=A0=A0 at org.jetlang.channels.ChannelSubscription$1.run(ChannelSu= bscription.java:31) [jetlang-0.2.1.jar:na]

=A0=A0=A0=A0=A0 at org.jetlang.core.Ba= tchExecutorImpl.execute(BatchExecutorImpl.java:11) [jetlang-0.2.1.jar:na]

=A0=A0= =A0=A0=A0 at org.jetlang.core.RunnableExecutorImpl.run(RunnableExecutorImpl= .java:34) [jetlang-0.2.1.jar:na]

=A0=A0=A0=A0=A0 at org.jetlang.fibers.ThreadFibe= r.runThread(ThreadFiber.java:51) [jetlang-0.2.1.jar:na]

=A0=A0=A0=A0=A0 at org.je= tlang.fibers.ThreadFiber.access$000(ThreadFiber.java:10) [jetlang-0.2.1.jar= :na]

= =A0=A0=A0=A0=A0 at org.jetlang.fibers.ThreadFiber$1.run(ThreadFiber.java:27= ) [jetlang-0.2.1.jar:na]

=A0=A0=A0=A0=A0 at java.lang.Thread.run(Thread.java:619)= [na:1.6.0_17]

Caused by: org.apache.cassandra.thrift.InvalidRequestException: nu= ll

= =A0= =A0=A0=A0=A0 at org.apache.cassandra.thrift.Cassandra$get_indexed_slices_re= sult.read(Cassandra.java:13299) ~[cassandra-all-0.7.0.jar:0.7.0]=

=A0=A0=A0=A0=A0 = at org.apache.cassandra.thrift.Cassandra$Client.recv_get_indexed_slices(Cas= sandra.java:780) ~[cassandra-all-0.7.0.jar:0.7.0]

=A0=A0=A0=A0=A0 at org.apache.c= assandra.thrift.Cassandra$Client.get_indexed_slices(Cassandra.java:752) ~[c= assandra-all-0.7.0.jar:0.7.0]

=A0=A0=A0=A0=A0 at me.prettyprint.cassandra.service= .KeyspaceServiceImpl$12.execute(KeyspaceServiceImpl.java:501) ~[hector-core= -0.7.0-26.jar:na]

=A0=A0=A0=A0=A0 ... 19 common frames omitted

 

 

 

With the very same code and data.

I assume that the column name I give in C= assandra.yaml is somehow not inmterpreted as a TimedUUID or something.=

 = ;

Any help = would be greatly appreciated

 

Greetings,

roland

 

 

= Von:<= /span> Michal August=FDn [mailto:augustyn.michal@gmail.com]
Gesendet: Dienstag, 15. Februar 2011 16:22
An: user@cassandra.apache.org<= br>Betreff: Re: cant seem to figure out secondary index definition

 

Ah, ok. I checked that in source and the problem is that you = wrote "validation_class" but you should "validator_class&quo= t;.

 

Augi

2011/2/15 Roland Gude <roland.gude@yoochoose.com>

Yeah i= know about that, but the definition i have is for a cluster that is starte= d/stopped from a unit test with hector embeddedServerHelper, which takes de= finitions from the yaml.

So i’d still like to define the= index in the yaml file (it should very well be possible I guess)

 

 

Von: Michal August=FDn [mailto:augustyn.michal@gmail.com]
Gesendet: Dienst= ag, 15. Februar 2011 15:53
An: user@cassandra.apache.org
Betreff: Re: cant seem to figure out secondary index definition
=

 

Hi,

<= div>

 

if you download Cassandra= and look into "conf/cassandra.yaml" then you can see this:<= /o:p>

 

"thi= s keyspace definition is for demonstration purposes only. Cassandra wi= ll not load these definitions during startup. See http://wiki.apa= che.org/cassandra/FAQ#no_keyspaces for an explanation."=

 

So you should = make all schema-related operation via Thrift/AVRO API, or you can use Cassa= ndra CLI.

 

<= p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:= auto'>Augi

 

2011/= 2/15 Roland Gude <roland.gude@yoochoose.com>

<= span lang=3DEN-US>Hi,

 =

i am a little puzzled on cr= eation of secondary indexes and the docs in that area are still very sparse= .

What I am trying to do is = – in a columnfamily with TimeUUID comparator, I want the “speci= al” timeuuid 00000000-0000-1000-0000-000000000000 to be indexed. The = value being some UTF8 string on which I want to perform equality checks.

 

What do I need to put in my cassandra.yaml file?

Something like this?

 

<= span lang=3DEN-US>  - column_metadata: [{name: 00000000-0000-1000-0000= -000000000000, validation_class: UTF8Type, index_name: MyIndex, index_type:= KEYS}]

 

This gives me that error:

 

15:05:12.492 [pool-1-thread-1] ERROR o.a.c.config.Data= baseDescriptor - Fatal error: null; Can't construct a java object for tag:<= a href=3D"http://yaml.org" target=3D"_blank">yaml.org,2002:org.apache.c= assandra.config.Config; exception=3DCannot create property=3Dkeyspaces for = JavaBean=3Dorg.apache.cassandra.config.Config@7eb6e2; Cannot create propert= y=3Dcolumn_families for JavaBean=3Dorg.apache.cassandra.config.RawKeyspace@= 987a33; Cannot create property=3Dcolumn_metadata for JavaBean=3Dorg.apache.= cassandra.config.RawColumnFamily@716cb7; Cannot create property=3Dvalidatio= n_class for JavaBean=3Dorg.apache.cassandra.config.RawColumnDefinition@e298= 20; Unable to find property 'validation_class' on class: org.apache.cassand= ra.config.RawColumnDefinition

Bad conf= iguration; unable to start server

 

 

I am furthermor uncertain if the col= umn name will be correctly used if given like this. Should I put the byte r= epresentation of the uuid there?

 

Greetings,

roland

--

YOOCHOOSE GmbH

 

Roland Gude

Software Engineer

<= p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:= auto'> 

Im M= ediapark 8, 50670 K=F6ln

 

+49 221 4544151 (Tel)

+49 221 4544159 (Fax)

+49= 171 7894057 (Mobil)

 

 

Email: roland.gude@yoochoose.com

WWW: www.yoochoose.com

 

YOOCHOOSE GmbH

Gesch=E4ftsf=FChrer: Dr. Uwe Alkemper, Michael Friedmann<= /span>

H= andelsregister: Amtsgericht K=F6ln HRB 65275

<= span style=3D'font-size:8.0pt;color:#7F7F7F'>Ust-Ident-Nr: DE 264 773 520

Si= tz der Gesellschaft: K=F6ln

 

 

 

= --_000_120CB7532EA53A4D8CA6B63F94B4ADB351E4F6E244IE2RD2XVS021r_--