You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Assigned) (JIRA)" <ji...@apache.org> on 2012/04/18 22:24:40 UTC

[jira] [Assigned] (CASSANDRA-4169) Locale settings on windows can break schema

     [ https://issues.apache.org/jira/browse/CASSANDRA-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis reassigned CASSANDRA-4169:
-----------------------------------------

    Assignee: Pavel Yaskevich

wtf does avro.parse use locale for?

we might just need to say "upgrade to 1.1 when we don't use avro anymore"
                
> Locale settings on windows can break schema
> -------------------------------------------
>
>                 Key: CASSANDRA-4169
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4169
>             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 DatabaseDescriptor.java (line 501) Loading schema version 4404f2e0-898b-11e1-0000-242d50cf1fbf
>  ERROR [main] 2012-04-18 19:18:59,391 AbstractCassandraDaemon.java (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(Schema.java:986)
> 	at org.apache.avro.Schema.parse(Schema.java:893)
> 	at org.apache.cassandra.db.DefsTable.loadFromStorage(DefsTable.java:90)
> 	at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:502)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:180)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:356)
> 	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:107)
> {noformat}
> This was reported on the DataStax forums, as well as reproduced by myself. http://www.datastax.com/support-forums/topic/cassandra-service-doesnt-start

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira