cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4169) Locale settings on windows can break schema
Date Wed, 18 Apr 2012 20:40:40 GMT


Dave Brosius commented on CASSANDRA-4169:

even something silly like mystring.toUpperCase() would access the locale. and turkish is notorious
for creating unsuspected characters when upper/lower casing a string (adding crazy accents,
> Locale settings on windows can break schema
> -------------------------------------------
>                 Key: CASSANDRA-4169
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows
>            Reporter: Nick Bailey
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>             Fix For: 1.2
> The locale settings on windows can somehow affect how schema information is either saved
or loaded. When setting locale/language settings to Turkish, and then starting cassandra,
schema changes can be made successfully. When restarting cassandra though, the following error
is seen:
> {noformat}
> INFO [main] 2012-04-18 19:18:59,142 (line 501) Loading schema
version 4404f2e0-898b-11e1-0000-242d50cf1fbf
>  ERROR [main] 2012-04-18 19:18:59,391 (line 373) Exception
encountered during startup
>  org.apache.avro.SchemaParseException: "strıng" is not a defined name. The type of the
"name" field must be a defined name or a {"type": ...} expression.
> 	at org.apache.avro.Schema.parse(
> 	at org.apache.avro.Schema.parse(
> 	at org.apache.cassandra.db.DefsTable.loadFromStorage(
> 	at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(
> 	at org.apache.cassandra.thrift.CassandraDaemon.main(
> {noformat}
> This was reported on the DataStax forums, as well as reproduced by myself.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message