cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Rhoden (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13897) nodetool compact and flush fail with "error: null"
Date Mon, 16 Oct 2017 03:39:00 GMT

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

Jacob Rhoden edited comment on CASSANDRA-13897 at 10/16/17 3:38 AM:
--------------------------------------------------------------------

Here is my config (git diff -U0) against default 3.11.1 configuration

+++ b/cassandra-topology.properties
@@ -18,16 +18,2 @@
-192.168.1.100=DC1:RAC1
-192.168.2.200=DC2:RAC2
-
-10.0.0.10=DC1:RAC1
-10.0.0.11=DC1:RAC1
-10.0.0.12=DC1:RAC2
-
-10.20.114.10=DC2:RAC1
-10.20.114.11=DC2:RAC1
-
-10.21.119.13=DC3:RAC1
-10.21.119.10=DC3:RAC1
-
-10.0.0.13=DC1:RAC2
-10.21.119.14=DC3:RAC2
-10.20.114.15=DC2:RAC2
+10.1.1.125=dc1:rack1
+10.1.1.241=dc2:rack1
@@ -36 +22 @@
-default=DC1:r1
+default=dc1:rack1
@@ -41 +27 @@ default=DC1:r1
-fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=DC1:RAC3
+#fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=DC1:RAC3
diff --git a/cassandra.yaml b/cassandra.yaml
index e847e54..cd30717 100644
--- a/cassandra.yaml
+++ b/cassandra.yaml
@@ -10 +10 @@
-cluster_name: 'Test Cluster'
+cluster_name: 'mycluster'
-          - seeds: "127.0.0.1"
+          - seeds: "10.1.1.125"
-listen_address: localhost
+listen_address: 10.1.1.125
-rpc_address: localhost
+rpc_address: 10.1.1.125
-# broadcast_rpc_address: 1.2.3.4
+broadcast_rpc_address: 10.1.1.125
-endpoint_snitch: SimpleSnitch
+endpoint_snitch: GossipingPropertyFileSnitch


was (Author: corydoras):
Here is my config (git diff -U0) against default 3.11.1 configuration

+++ b/cassandra-topology.properties
@@ -18,16 +18,2 @@
-192.168.1.100=DC1:RAC1
-192.168.2.200=DC2:RAC2
-
-10.0.0.10=DC1:RAC1
-10.0.0.11=DC1:RAC1
-10.0.0.12=DC1:RAC2
-
-10.20.114.10=DC2:RAC1
-10.20.114.11=DC2:RAC1
-
-10.21.119.13=DC3:RAC1
-10.21.119.10=DC3:RAC1
-
-10.0.0.13=DC1:RAC2
-10.21.119.14=DC3:RAC2
-10.20.114.15=DC2:RAC2
+10.1.1.125=dc1:rack1
+10.1.1.241=dc2:rack1
@@ -36 +22 @@
-default=DC1:r1
+default=dc1:rack1
@@ -41 +27 @@ default=DC1:r1
-fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=DC1:RAC3
+#fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=DC1:RAC3
diff --git a/cassandra.yaml b/cassandra.yaml
index e847e54..cd30717 100644
--- a/cassandra.yaml
+++ b/cassandra.yaml
@@ -10 +10 @@
-cluster_name: 'Test Cluster'
+cluster_name: 'tai'
@@ -425 +425 @@ seed_provider:
-          - seeds: "127.0.0.1"
+          - seeds: "10.1.1.125"
@@ -599 +599 @@ ssl_storage_port: 7001
-listen_address: localhost
+listen_address: 10.1.1.125
@@ -676 +676 @@ start_rpc: false
-rpc_address: localhost
+rpc_address: 10.1.1.125
@@ -695 +695 @@ rpc_port: 9160
-# broadcast_rpc_address: 1.2.3.4
+broadcast_rpc_address: 10.1.1.125
@@ -949 +949 @@ cross_node_timeout: false
-endpoint_snitch: SimpleSnitch
+endpoint_snitch: GossipingPropertyFileSnitch

> nodetool compact and flush fail with "error: null"
> --------------------------------------------------
>
>                 Key: CASSANDRA-13897
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13897
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>         Environment: * Apache Cassandra 3.11.0
> * Linux 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64
GNU/Linux
> * jdk1.8.0_144
>            Reporter: Jacob Rhoden
>            Priority: Minor
>
> {{nodetool flush}} and {{nodetool compact}} return a nonsensical error message. This
could probably be improved.
> I have one node that always returns this error when invoking {{nodetool compress}}. And
intermittently returns this error when calling {{nodetool flush}}. I have tried deleting saved_caches,
commit logs, doing nodetool compact/rebuild/scrub, and nothing seems to remove the error.

> {noformat}
> cass@s5:~/apache-cassandra-3.11.0$ nodetool compact
> error: null
> -- StackTrace --
> java.lang.AssertionError
> 	at org.apache.cassandra.cache.ChunkCache$CachingRebufferer.<init>(ChunkCache.java:222)
> 	at org.apache.cassandra.cache.ChunkCache.wrap(ChunkCache.java:175)
> 	at org.apache.cassandra.io.util.FileHandle$Builder.maybeCached(FileHandle.java:412)
> 	at org.apache.cassandra.io.util.FileHandle$Builder.complete(FileHandle.java:381)
> 	at org.apache.cassandra.io.util.FileHandle$Builder.complete(FileHandle.java:331)
> 	at org.apache.cassandra.io.sstable.format.big.BigTableWriter.openFinal(BigTableWriter.java:333)
> 	at org.apache.cassandra.io.sstable.format.big.BigTableWriter.openFinalEarly(BigTableWriter.java:318)
> 	at org.apache.cassandra.io.sstable.SSTableRewriter.switchWriter(SSTableRewriter.java:322)
> 	at org.apache.cassandra.io.sstable.SSTableRewriter.doPrepare(SSTableRewriter.java:370)
> 	at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.prepareToCommit(Transactional.java:173)
> 	at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.doPrepare(CompactionAwareWriter.java:111)
> 	at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.prepareToCommit(Transactional.java:173)
> 	at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.finish(Transactional.java:184)
> 	at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.finish(CompactionAwareWriter.java:121)
> 	at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:220)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:85)
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:61)
> 	at org.apache.cassandra.db.compaction.CompactionManager$10.runMayThrow(CompactionManager.java:733)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81)
> 	at java.lang.Thread.run(Thread.java:748)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message