cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muhammed Demirbaş (JIRA) <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11308) No enum constant ColumnMetadata.Raw.Kind.CLUSTERİNG_KEY in Turkish locale
Date Sat, 05 Mar 2016 11:01:40 GMT
Muhammed Demirbaş created CASSANDRA-11308:
---------------------------------------------

             Summary: No enum constant ColumnMetadata.Raw.Kind.CLUSTERİNG_KEY in Turkish
locale
                 Key: CASSANDRA-11308
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11308
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: Windows 10 x64, Turkish. 
            Reporter: Muhammed Demirbaş
            Priority: Critical


_JetBrains UpSource 2.5_ failed at _upsource-cluster-init_ phase with the exception below.
I think the reason is *locale-sensitive toUpperCase* operation, because in a Turkish locale,
{{'i'.toUpperCase()}} is {{'İ'}} and {{'ı'.toUpperCase()}} is {{'I'}}.

(related module is  {{<Upsource_Home>\lib\upsource\plugins\database-datastax\lib\cassandra-driver-core-2.2.0-rc1.jar}}

{code}
com.datastax.driver.core.ControlConnection - Error parsing schema from Cassandra system tables:
the schema in Cluster#getMetadata() will appear incomplete or stale 
java.lang.IllegalArgumentException: No enum constant com.datastax.driver.core.ColumnMetadata.Raw.Kind.CLUSTERİNG_KEY
	at java.lang.Enum.valueOf(Enum.java:238)
	at com.datastax.driver.core.ColumnMetadata$Raw.fromRow(ColumnMetadata.java:226)
	at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:85)
	at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:377)
	at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:271)
	at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:194)
	at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:82)
	at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1265)
	at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:337)
	at com.jetbrains.upsource.database.datastax.DatastaxCqlCluster.buildClusterWithRetry(DatastaxCqlCluster.java:285)
	at com.jetbrains.upsource.database.datastax.DatastaxCqlCluster.<init>(DatastaxCqlCluster.java:83)
	at com.jetbrains.upsource.database.datastax.CqlClusterFactory.createCluster(CqlClusterFactory.java:26)
	at com.jetbrains.upsource.backend.server.ClusterManagerImpl.create(ClusterManagerImpl.java:79)
	at com.jetbrains.upsource.backend.server.facade.UpsourceApplicationEnvironment.<init>(UpsourceApplicationEnvironment.java:114)
	at com.jetbrains.upsource.ClusterInitService.start(ClusterInitService.java:44)
	at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:83)
	at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:81)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

line 1:34 no viable alternative at character 'ı'
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message