You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Denis Ranger (JIRA)" <ji...@apache.org> on 2016/09/20 00:52:20 UTC

[jira] [Updated] (CASSANDRA-12478) cassandra stress still uses CFMetaData.compile()

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

Denis Ranger updated CASSANDRA-12478:
-------------------------------------
    Status: Patch Available  (was: Open)

The trunk patch gets rid of the uses of QueryProcessor in the stress tool, which fixes the problem. Still missing a unit test...

> cassandra stress still uses CFMetaData.compile()
> ------------------------------------------------
>
>                 Key: CASSANDRA-12478
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12478
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Denis Ranger
>              Labels: stress
>             Fix For: 3.0.x
>
>         Attachments: 0001-Replaced-using-CFMetaData.compile-in-cassandra-stres.patch
>
>
> Using CFMetaData.compile() on a client tool causes permission problems. To reproduce:
> * Start cassandra under user _cassandra_
> * Run {{chmod -R go-rwx /var/lib/cassandra}} to deny access to other users.
> * Use a non-root user to run {{cassandra-stress}} 
> This produces an access denied message on {{/var/lib/cassandra/commitlog}}.
> The attached fix uses client-mode functionality.



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