You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2021/09/13 17:25:00 UTC
[jira] [Updated] (CASSANDRA-7723) sstable2json (and possibly other
command-line tools) hang if no write permission to the commitlogs
[ https://issues.apache.org/jira/browse/CASSANDRA-7723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Semb Wever updated CASSANDRA-7723:
------------------------------------------
Resolution: Won't Fix
Status: Resolved (was: Open)
> sstable2json (and possibly other command-line tools) hang if no write permission to the commitlogs
> --------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-7723
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7723
> Project: Cassandra
> Issue Type: Bug
> Components: Legacy/Tools
> Reporter: J.B. Langston
> Priority: Low
>
> sstable2json (and potentially other command-line tools that call DatabaseDescriptor.loadSchemas) will hang if the user running them doesn't have write permission on the commit logs. loadSchemas calls Schema.updateVersion, which causes a mutation to the system tables, then it just spins forever trying to acquire a commit log segment. See this thread dump: https://gist.github.com/markcurtis1970/837e770d1cad5200943c. The tools should recognize this and present an understandable error message.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org