cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12478) cassandra stress still uses CFMetaData.compile()
Date Fri, 30 Sep 2016 19:02:20 GMT

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

Paulo Motta commented on CASSANDRA-12478:
-----------------------------------------

LGTM thanks! Submitted CI tests:

||3.0||3.X||trunk||
||[branch|https://github.com/apache/cassandra/compare/cassandra-3.0...pauloricardomg:3.0-12478]||[branch|https://github.com/apache/cassandra/compare/cassandra-3.X...pauloricardomg:3.X-12478]||[branch|https://github.com/apache/cassandra/compare/trunk...pauloricardomg:trunk-12478]||
||[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.0-12478-testall/lastCompletedBuild/testReport/]||[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.X-12478-testall/lastCompletedBuild/testReport/]||[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-trunk-12478-testall/lastCompletedBuild/testReport/]||
||[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.0-12478-dtest/lastCompletedBuild/testReport/]||[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.X-12478-dtest/lastCompletedBuild/testReport/]||[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-trunk-12478-dtest/lastCompletedBuild/testReport/]||

(will mark as ready to commit after/when tests look good)

> 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,
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