[
https://issues.apache.org/jira/browse/CASSANDRA-12478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15447034#comment-15447034
]
Paulo Motta commented on CASSANDRA-12478:
-----------------------------------------
Thanks for clarifying this, [~snazy]. Perhaps it would be nice to add some of
this to the developer's documentation? :-)
[~DenisRanger] could you create new patches taking the above into
consideration? Thanks!
> 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)