Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1E4EF200BA0 for ; Fri, 30 Sep 2016 02:02:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1CDF4160AE4; Fri, 30 Sep 2016 00:02:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 856BA160AE3 for ; Fri, 30 Sep 2016 02:02:21 +0200 (CEST) Received: (qmail 85606 invoked by uid 500); 30 Sep 2016 00:02:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 85586 invoked by uid 99); 30 Sep 2016 00:02:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2016 00:02:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8419D2C2A5F for ; Fri, 30 Sep 2016 00:02:20 +0000 (UTC) Date: Fri, 30 Sep 2016 00:02:20 +0000 (UTC) From: "Denis Ranger (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-12478) cassandra stress still uses CFMetaData.compile() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 30 Sep 2016 00:02:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Ranger updated CASSANDRA-12478: ------------------------------------- Attachment: 0002-Used-client-instead-of-tool-init.patch v2 + 0002 patch seems to do the trick. > 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)