[jira] [Updated] (CASSANDRA-8163) Re-introduce DESCRIBE permission
[ https://issues.apache.org/jira/browse/CASSANDRA-8163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko updated CASSANDRA-8163: - Fix Version/s: 3.0 beta 1 Re-introduce DESCRIBE permission Key: CASSANDRA-8163 URL: https://issues.apache.org/jira/browse/CASSANDRA-8163 Project: Cassandra Issue Type: Improvement Reporter: Vishy Kasar Assignee: Sam Tunnicliffe Priority: Minor Fix For: 3.0 beta 1 We have a cluster like this: project1_keyspace table101 table102 project2_keyspace table201 table202 We have set up following users and grants: project1_user has all access to project1_keyspace project2_user has all access to project2_keyspace However project1_user can still do a 'describe schema' and get the schema for project2_keyspace as well. We do not want project1_user to have any knowledge for project2 in any way (cqlsh/java-driver etc) . -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CASSANDRA-9408) Update 3.0 debian/control for JDK8
Michael Shuler created CASSANDRA-9408: - Summary: Update 3.0 debian/control for JDK8 Key: CASSANDRA-9408 URL: https://issues.apache.org/jira/browse/CASSANDRA-9408 Project: Cassandra Issue Type: Task Components: Packaging Reporter: Michael Shuler Assignee: Michael Shuler Priority: Trivial Fix For: 3.x Attachments: update-deb-jdk.txt Build and install depends updated for deb package. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-9408) Update 3.0 debian/control for JDK8
[ https://issues.apache.org/jira/browse/CASSANDRA-9408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14547039#comment-14547039 ] Michael Shuler commented on CASSANDRA-9408: --- just noticed that {{conf/cassandra-env.sh}} and {{conf/cassandra-env.ps1}} should probably get a little version update to refuse to start on JVM_VERSION 1.8 Update 3.0 debian/control for JDK8 -- Key: CASSANDRA-9408 URL: https://issues.apache.org/jira/browse/CASSANDRA-9408 Project: Cassandra Issue Type: Task Components: Packaging Reporter: Michael Shuler Assignee: Michael Shuler Priority: Trivial Fix For: 3.x Attachments: update-deb-jdk.txt Build and install depends updated for deb package. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (CASSANDRA-9396) Canonical view of compacting SSTables not working as expected
[ https://issues.apache.org/jira/browse/CASSANDRA-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedict reopened CASSANDRA-9396: - Canonical view of compacting SSTables not working as expected - Key: CASSANDRA-9396 URL: https://issues.apache.org/jira/browse/CASSANDRA-9396 Project: Cassandra Issue Type: Bug Reporter: Yuki Morishita Assignee: Benedict Fix For: 2.2 beta 1, 2.1.6 Attachments: 0001-canonical-view-test-while-compacting.patch, 9396.txt ColumnFamilyStore.CANONICAL_VIEW filter does not seem to filter out early opened SSTable as expected. Attached test shows that canonical view contains both compacting SSTable and early opened SSTable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[1/3] cassandra git commit: fixup canonical view test
Repository: cassandra Updated Branches: refs/heads/cassandra-2.2 6c0a46262 - f76bfd4f3 refs/heads/trunk ce0a25fa1 - a1b1cf643 fixup canonical view test Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f76bfd4f Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f76bfd4f Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f76bfd4f Branch: refs/heads/cassandra-2.2 Commit: f76bfd4f3f895ba8e330becbc5dbf61162f2705f Parents: 6c0a462 Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 10:50:06 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 10:50:06 2015 +0100 -- .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/f76bfd4f/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java -- diff --git a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java index e11d142..3104a96 100644 --- a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java +++ b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java @@ -817,8 +817,10 @@ public class SSTableRewriterTest extends SchemaLoader } } } -writer.finish(); +writer.abort(); cfs.getDataTracker().unmarkCompacting(sstables); +truncateCF(); +validateCFS(cfs); } private void validateKeys(Keyspace ks)
[2/3] cassandra git commit: fixup canonical view test
fixup canonical view test Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f76bfd4f Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f76bfd4f Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f76bfd4f Branch: refs/heads/trunk Commit: f76bfd4f3f895ba8e330becbc5dbf61162f2705f Parents: 6c0a462 Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 10:50:06 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 10:50:06 2015 +0100 -- .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/f76bfd4f/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java -- diff --git a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java index e11d142..3104a96 100644 --- a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java +++ b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java @@ -817,8 +817,10 @@ public class SSTableRewriterTest extends SchemaLoader } } } -writer.finish(); +writer.abort(); cfs.getDataTracker().unmarkCompacting(sstables); +truncateCF(); +validateCFS(cfs); } private void validateKeys(Keyspace ks)
[3/3] cassandra git commit: Merge branch 'cassandra-2.2' into trunk
Merge branch 'cassandra-2.2' into trunk Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/a1b1cf64 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/a1b1cf64 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/a1b1cf64 Branch: refs/heads/trunk Commit: a1b1cf643ed406afda15fb02e8a2821bc2e2bef9 Parents: ce0a25f f76bfd4 Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 10:50:15 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 10:50:15 2015 +0100 -- .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --
[jira] [Resolved] (CASSANDRA-9407) SSTableRewriterTest is hard failing after Fix canonical view returning early opened SSTables
[ https://issues.apache.org/jira/browse/CASSANDRA-9407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedict resolved CASSANDRA-9407. - Resolution: Duplicate Shouldn't this just result in reopening the prior ticket, so discussion happens in one place? Especially for something so small. SSTableRewriterTest is hard failing after Fix canonical view returning early opened SSTables -- Key: CASSANDRA-9407 URL: https://issues.apache.org/jira/browse/CASSANDRA-9407 Project: Cassandra Issue Type: Test Reporter: Ariel Weisberg Assignee: Benedict Fix For: 2.2 rc1 When I bisected it seems to start failing after https://github.com/apache/cassandra/commit/7d6a60ddd0e156f6028c05d97fa9179f86fe02ee -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[6/6] cassandra git commit: Merge branch 'cassandra-2.2' into trunk
Merge branch 'cassandra-2.2' into trunk Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c2a1cd49 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c2a1cd49 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c2a1cd49 Branch: refs/heads/trunk Commit: c2a1cd49687ad1e4dec35ef01c0bac75fbd0f806 Parents: a1b1cf6 ff10d63 Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 11:02:16 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 11:02:16 2015 +0100 -- --
[1/6] cassandra git commit: fixup canonical view test
Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 9f8c45d6d - 8ad70cf25 refs/heads/cassandra-2.2 f76bfd4f3 - ff10d636c refs/heads/trunk a1b1cf643 - c2a1cd496 fixup canonical view test Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8ad70cf2 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8ad70cf2 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8ad70cf2 Branch: refs/heads/cassandra-2.1 Commit: 8ad70cf257c63114b65cb1c32f56caf14290579f Parents: 9f8c45d Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 10:59:11 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 10:59:11 2015 +0100 -- .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8ad70cf2/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java -- diff --git a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java index b940b7b..56b15fe 100644 --- a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java +++ b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java @@ -774,8 +774,10 @@ public class SSTableRewriterTest extends SchemaLoader } } } -writer.finish(); +writer.abort(); cfs.getDataTracker().unmarkCompacting(sstables); +truncateCF(); +validateCFS(cfs); } private void validateKeys(Keyspace ks)
[4/6] cassandra git commit: Merge branch 'cassandra-2.1' into cassandra-2.2
Merge branch 'cassandra-2.1' into cassandra-2.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ff10d636 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ff10d636 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ff10d636 Branch: refs/heads/trunk Commit: ff10d636c7f379d2882b7f863eadbdd0ffacdc6c Parents: f76bfd4 8ad70cf Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 11:01:57 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 11:01:57 2015 +0100 -- --
[3/6] cassandra git commit: fixup canonical view test
fixup canonical view test Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8ad70cf2 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8ad70cf2 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8ad70cf2 Branch: refs/heads/trunk Commit: 8ad70cf257c63114b65cb1c32f56caf14290579f Parents: 9f8c45d Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 10:59:11 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 10:59:11 2015 +0100 -- .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8ad70cf2/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java -- diff --git a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java index b940b7b..56b15fe 100644 --- a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java +++ b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java @@ -774,8 +774,10 @@ public class SSTableRewriterTest extends SchemaLoader } } } -writer.finish(); +writer.abort(); cfs.getDataTracker().unmarkCompacting(sstables); +truncateCF(); +validateCFS(cfs); } private void validateKeys(Keyspace ks)
[2/6] cassandra git commit: fixup canonical view test
fixup canonical view test Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8ad70cf2 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8ad70cf2 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8ad70cf2 Branch: refs/heads/cassandra-2.2 Commit: 8ad70cf257c63114b65cb1c32f56caf14290579f Parents: 9f8c45d Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 10:59:11 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 10:59:11 2015 +0100 -- .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8ad70cf2/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java -- diff --git a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java index b940b7b..56b15fe 100644 --- a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java +++ b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java @@ -774,8 +774,10 @@ public class SSTableRewriterTest extends SchemaLoader } } } -writer.finish(); +writer.abort(); cfs.getDataTracker().unmarkCompacting(sstables); +truncateCF(); +validateCFS(cfs); } private void validateKeys(Keyspace ks)
[jira] [Resolved] (CASSANDRA-9396) Canonical view of compacting SSTables not working as expected
[ https://issues.apache.org/jira/browse/CASSANDRA-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedict resolved CASSANDRA-9396. - Resolution: Fixed The new testCanonicalView() test did not clean up its state, so all tests in SSTableRewriter that happened to run after it would fail. I've fixed this and committed. Obviously, we need to be stringent about going through the new commit process (with cassci vetting) even for relatively innocuous changes. Canonical view of compacting SSTables not working as expected - Key: CASSANDRA-9396 URL: https://issues.apache.org/jira/browse/CASSANDRA-9396 Project: Cassandra Issue Type: Bug Reporter: Yuki Morishita Assignee: Benedict Fix For: 2.2 beta 1, 2.1.6 Attachments: 0001-canonical-view-test-while-compacting.patch, 9396.txt ColumnFamilyStore.CANONICAL_VIEW filter does not seem to filter out early opened SSTable as expected. Attached test shows that canonical view contains both compacting SSTable and early opened SSTable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[5/6] cassandra git commit: Merge branch 'cassandra-2.1' into cassandra-2.2
Merge branch 'cassandra-2.1' into cassandra-2.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ff10d636 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ff10d636 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ff10d636 Branch: refs/heads/cassandra-2.2 Commit: ff10d636c7f379d2882b7f863eadbdd0ffacdc6c Parents: f76bfd4 8ad70cf Author: Benedict Elliott Smith bened...@apache.org Authored: Sat May 16 11:01:57 2015 +0100 Committer: Benedict Elliott Smith bened...@apache.org Committed: Sat May 16 11:01:57 2015 +0100 -- --
[jira] [Comment Edited] (CASSANDRA-8460) Make it possible to move non-compacting sstables to slow/big storage in DTCS
[ https://issues.apache.org/jira/browse/CASSANDRA-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546975#comment-14546975 ] Jeff Jirsa edited comment on CASSANDRA-8460 at 5/16/15 11:10 PM: - [~krummas] Does it make sense to address this in a few parts? 1) Create a new notion of tiered storage configurable per node in yaml (either one default tier for hot data {{data_file_directories}} and one tier for cold data {{archive_file_directories}}, or some form of arbitrary named tiers? ) 2) Allow compaction strategies access to the various tiers with CASSANDRA-8671 ( tagging [~bdeggleston] for visibility ) 3) Extend DTCS to take advantage of CASSANDRA-8671 + slow tier from step 1 as a compaction option such as {code}WITH compaction = {'class': 'DateTieredCompactionStrategy', 'timestamp_resolution':'resolution', 'base_time_seconds':'3600', 'max_sstable_age_days':'7', 'max_sstable_age_disk_tier':'archive' }; {code} ? was (Author: jjirsa): [~krummas] Does it make sense to address this in a few parts? 1) Create a new notion of tiered storage configurable per node in yaml (either one default tier for hot data {{data_file_directories}} and one tier for cold data {{archive_file_directories}}, or some form of arbitrary named tiers? ) 2) Allow compaction strategies access to the various tiers with CASSANDRA-8671 ( tagging [~bdeggleston] for visibility ) 3) Extend DTCS to take advantage of CASSANDRA-8671 + slow tier from step 1 as a compaction option such as {{WITH compaction = {'class': 'DateTieredCompactionStrategy', 'timestamp_resolution':'resolution', 'base_time_seconds':'3600', 'max_sstable_age_days':'7', 'max_sstable_age_disk_tier':'archive' }; }} ? Make it possible to move non-compacting sstables to slow/big storage in DTCS Key: CASSANDRA-8460 URL: https://issues.apache.org/jira/browse/CASSANDRA-8460 Project: Cassandra Issue Type: Improvement Reporter: Marcus Eriksson It would be nice if we could configure DTCS to have a set of extra data directories where we move the sstables once they are older than max_sstable_age_days. This would enable users to have a quick, small SSD for hot, new data, and big spinning disks for data that is rarely read and never compacted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-8460) Make it possible to move non-compacting sstables to slow/big storage in DTCS
[ https://issues.apache.org/jira/browse/CASSANDRA-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546975#comment-14546975 ] Jeff Jirsa commented on CASSANDRA-8460: --- [~krummas] Does it make sense to address this in a few parts? 1) Create a new notion of tiered storage configurable per node in yaml (either one default tier for hot data {{data_file_directories}} and one tier for cold data {{archive_file_directories}}, or some form of arbitrary named tiers? ) 2) Allow compaction strategies access to the various tiers with CASSANDRA-8671 ( tagging [~bdeggleston] for visibility ) 3) Extend DTCS to take advantage of CASSANDRA-8671 + slow tier from step 1 as a compaction option such as {{WITH compaction = {'class': 'DateTieredCompactionStrategy', 'timestamp_resolution':'resolution', 'base_time_seconds':'3600', 'max_sstable_age_days':'7', 'max_sstable_age_disk_tier':'archive' }; }} ? Make it possible to move non-compacting sstables to slow/big storage in DTCS Key: CASSANDRA-8460 URL: https://issues.apache.org/jira/browse/CASSANDRA-8460 Project: Cassandra Issue Type: Improvement Reporter: Marcus Eriksson It would be nice if we could configure DTCS to have a set of extra data directories where we move the sstables once they are older than max_sstable_age_days. This would enable users to have a quick, small SSD for hot, new data, and big spinning disks for data that is rarely read and never compacted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)