cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Ranger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12478) cassandra stress still uses CFMetaData.compile()
Date Wed, 17 Aug 2016 14:02:22 GMT
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)

Mime
View raw message