cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12478) cassandra stress still uses CFMetaData.compile()
Date Tue, 04 Oct 2016 15:25:21 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15545649#comment-15545649
] 

Aleksey Yeschenko commented on CASSANDRA-12478:
-----------------------------------------------

Committed as [db869bc77451dfd5e6afec604251c9bef8779c00|https://github.com/apache/cassandra/commit/db869bc77451dfd5e6afec604251c9bef8779c00]
to 3.0 and merged upwards according to the instructions, 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
>            Assignee: Denis Ranger
>              Labels: stress
>             Fix For: 3.0.10, 3.10
>
>         Attachments: 0001-Replaced-using-CFMetaData.compile-in-cassandra-stres.patch,
0002-Used-client-instead-of-tool-init.patch, cassandra-stress-trunk.patch, cassandra-stress-v2.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