[
https://issues.apache.org/jira/browse/CASSANDRA-19953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892793#comment-17892793
]
Stefan Miklosovic commented on CASSANDRA-19953:
-----------------------------------------------
[CASSANDRA-19953|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19953]
{noformat}
java17_pre-commit_tests
✓ j17_build 5m 16s
✓ j17_cqlsh_dtests_py311 7m 4s
✓ j17_cqlsh_dtests_py311_vnode 7m 21s
✓ j17_cqlsh_dtests_py38_vnode 7m 22s
✓ j17_cqlshlib_cython_tests 8m 8s
✓ j17_cqlshlib_tests 7m 26s
✓ j17_dtests 35m 11s
✓ j17_dtests_latest 34m 19s
✓ j17_dtests_vnode 37m 13s
✓ j17_jvm_dtests 26m 40s
✓ j17_unit_tests 15m 20s
✓ j17_utests_oa 16m 5s
✕ j17_cqlsh_dtests_py38 8m 44s
cql_test.TestLWTWithCQL
test_conditional_deletes_on_static_columns_with_null_values
cql_test.TestLWTWithCQL
test_conditional_deletes_on_static_columns_with_null_values_batch
cql_test.TestLWTWithCQL
test_conditional_updates_on_static_columns_with_non_existing_values
cql_test.TestLWTWithCQL
test_conditional_updates_on_static_columns_with_null_values_batch
cql_test.TestLWTWithCQL test_lwt_with_static_columns
✕ j17_jvm_dtests_latest_vnode 24m 32s
org.apache.cassandra.distributed.test.tcm.CMSPlacementAfterMoveTest
testMoveToCMS
org.apache.cassandra.fuzz.harry.integration.model.InJVMTokenAwareExecutorTest
testRepair TIMEOUTED
✕ j17_utests_latest 15m 6s
org.apache.cassandra.db.commitlog.CommitlogShutdownTest
testShutdownWithPendingTasks
java17_separate_tests
java11_pre-commit_tests
java11_separate_tests
{noformat}
[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4881/workflows/eca5ec63-7671-4498-8a43-980092647b9a]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4881/workflows/75ab6074-4a0b-4b3e-a4dd-a7012708789b]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4881/workflows/af6e45ad-ab67-402e-87b5-62b7fc058dac]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4881/workflows/559c06d2-516c-41ed-a3dc-2e2f5a9290d6]
> CQL schema parser fails on startup when system locale set to tr_TR.UTF-8 with
> SyntaxException
> ---------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-19953
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19953
> Project: Cassandra
> Issue Type: Bug
> Components: CQL/Interpreter
> Reporter: Ata İlhan Köktürk
> Assignee: Maxwell Guo
> Priority: Normal
> Fix For: 4.1.x, 5.0.x, 5.x
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Fresh installation of Cassandra 5.0 fails to start with the following error:
> {code:java}
> ERROR [main] 2024-09-25 14:50:58,401 CassandraDaemon.java:900 - Exception
> encountered during startup
> java.lang.ExceptionInInitializerError: null
> at
> org.apache.cassandra.service.CassandraDaemon.setupVirtualKeyspaces(CassandraDaemon.java:575)
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:286)
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:744)
> at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:878)
> Caused by: org.apache.cassandra.exceptions.SyntaxException: Failed parsing
> CREATE TABLE: [CREATE TABLE streaming ( id timeuuid,
> follower boolean,
> operation text,
> peers frozen<list<text>>,
> status text,
> progress_percentage float,
> last_updated_at timestamp,
> duration_millis bigint,
> failure_cause text,
> success_message text,
> bytes_to_receive bigint,
> bytes_received bigint,
> bytes_to_send bigint,
> bytes_sent bigint,
> files_to_receive bigint,
> files_received bigint,
> files_to_send bigint,
> files_sent bigint,
> status_ınıt_timestamp timestamp,
> status_start_timestamp timestamp,
> status_success_timestamp timestamp,
> status_faılure_timestamp timestamp,
> PRIMARY KEY ((id)))] reason: SyntaxException line 21:9 no viable alternative
> at character 'ı'
> at
> org.apache.cassandra.cql3.CQLFragmentParser.parseAny(CQLFragmentParser.java:48)
> at
> org.apache.cassandra.cql3.statements.schema.CreateTableStatement.parse(CreateTableStatement.java:465)
> at
> org.apache.cassandra.db.virtual.StreamingVirtualTable.<init>(StreamingVirtualTable.java:37)
> at
> org.apache.cassandra.db.virtual.SystemViewsKeyspace.<init>(SystemViewsKeyspace.java:47)
> at
> org.apache.cassandra.db.virtual.SystemViewsKeyspace.<clinit>(SystemViewsKeyspace.java:26)
> ... 4 common frames omitted
> {code}
>
> So, I changed my system language, re-created and deleted locales (switched
> from {{tr_TR.UTF-8}} to {{{}en_US.UTF-8{}}}), and changed it from GNOME
> Settings too.
> I use Ubuntu 24.02. In this error you see {{'ı'}} (a Turkish character, i but
> without dot) used and Java basically couldn't find an alternative for {{'ı'}}
> but the question is I just installed Cassandra. I didn't create this table.
> This is probably for Cassandra and created automatically (I haven't used
> Cassandra, this was about to be my first time but as you can see I got error).
> Also, I tried other stable version 41x, same result. I completely removed
> {{/var/lib/cassandra}} and {{/var/log cassandra}} before install too.
> My solution (I am currently trying to test): adding {{Locale.US}} to all
> {{{}toLowerCase(){}}}, {{toUpperCase()}} etc. Because my keyboard map affects
> it. I think we can fix this with this way.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]