cassandra-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256929#comment-13256929
] 

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,
etc). 
                
> 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

       

Mime
View raw message