[ https://issues.apache.org/jira/browse/CASSANDRA-12478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15440200#comment-15440200 ]
Paulo Motta commented on CASSANDRA-12478: ----------------------------------------- The 3.0 patch looks good, but it does not merge to trunk due to CASSANDRA-11914 and CASSANDRA-9054. In particular, CASSANDRA-9054 introduced a new tools mode used by Stress, which calls {{DD.applySimpleConfig()}} which performs the commit log size check. We could either make it use client mode or skip the commit log size check if {{Config.isClientOrToolsMode}}. [~snazy] is there any particular reason stress cannot use client mode instead of tools mode? After this is clarified, can you rebase and provide a new trunk patch? 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)