incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert van der Spoel" <g...@3edge.com>
Subject RE: Small typo in conf/cassandra.yaml
Date Tue, 10 May 2011 16:47:20 GMT
> . inside quotations is correct in English.

Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
property=commitlog_sync for
JavaBean=org.apache.cassandra.config.Config@1fd5e2; Unable to find enum
value 'batch.' for enum class:
org.apache.cassandra.config.Config$CommitLogSync

That's the point Benoit is trying to make ...

CU,

Gert

> 
> On Tue, May 10, 2011 at 9:06 AM, Benoit Perroud <benoit@noisette.ch>
> wrote:
> > Hi all,
> >
> > I found out a small typo in cassandra.yaml, which can confuse
> > inattentive copy-paster. Here is the patch.
> >
> >
> > Index: conf/cassandra.yaml
> > ===================================================================
> > --- conf/cassandra.yaml (revision 1101465)
> > +++ conf/cassandra.yaml (working copy)
> > @@ -80,7 +80,7 @@
> >  # Size to allow commitlog to grow to before creating a new segment
> >  commitlog_rotation_threshold_in_mb: 128
> >
> > -# commitlog_sync may be either "periodic" or "batch."
> > +# commitlog_sync may be either "periodic" or "batch".
> >  # When in batch mode, Cassandra won't ack writes until the commit log
> >  # has been fsynced to disk.  It will wait up to
> >  # CommitLogSyncBatchWindowInMS milliseconds for other writes, before
> >
> >
> > Kind regards,
> >
> > Benoit.
> >
> 
> 
> 
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com


Mime
View raw message