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/08/17 14:02:22 UTC

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

Denis Ranger created CASSANDRA-12478:
----------------------------------------

             Summary: 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
         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)