[jira] [Commented] (CASSANDRA-4567) Error in log related to Murmur3Partitioner

2012-08-29 Thread Pavel Yaskevich (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1304#comment-1304
 ] 

Pavel Yaskevich commented on CASSANDRA-4567:


+1

 Error in log related to Murmur3Partitioner
 --

 Key: CASSANDRA-4567
 URL: https://issues.apache.org/jira/browse/CASSANDRA-4567
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2.0 beta 1
 Environment: Using ccm on ubuntu
Reporter: Tyler Patterson
Assignee: Vijay
 Fix For: 1.2.0 beta 1

 Attachments: 0001-CASSANDRA-4567.patch, 0001-CASSANDRA-4567-v2.patch, 
 0001-CASSANDRA-4567-v3.patch


 Start a 2-node cluster on cassandra-1.1. Bring down one node, upgrade it to 
 trunk, start it back up. The following error shows up in the log:
 {code}
 ...
  INFO [main] 2012-08-22 10:44:40,012 CacheService.java (line 170) Scheduling 
 row cache save to each 0 seconds (going to save all keys).
  INFO [SSTableBatchOpen:1] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  (148 bytes)
  INFO [SSTableBatchOpen:2] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  (226 bytes)
  INFO [SSTableBatchOpen:3] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  (89 bytes)
 ERROR [SSTableBatchOpen:3] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:3,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:2] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:2,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:1] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:1,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
  INFO 

[jira] [Commented] (CASSANDRA-4567) Error in log related to Murmur3Partitioner

2012-08-28 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13443365#comment-13443365
 ] 

Jonathan Ellis commented on CASSANDRA-4567:
---

bq. We can make the log messages pretty print and live with it

+1

 Error in log related to Murmur3Partitioner
 --

 Key: CASSANDRA-4567
 URL: https://issues.apache.org/jira/browse/CASSANDRA-4567
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2.0 beta 1
 Environment: Using ccm on ubuntu
Reporter: Tyler Patterson
Assignee: Vijay
 Fix For: 1.2.0 beta 1

 Attachments: 0001-CASSANDRA-4567.patch


 Start a 2-node cluster on cassandra-1.1. Bring down one node, upgrade it to 
 trunk, start it back up. The following error shows up in the log:
 {code}
 ...
  INFO [main] 2012-08-22 10:44:40,012 CacheService.java (line 170) Scheduling 
 row cache save to each 0 seconds (going to save all keys).
  INFO [SSTableBatchOpen:1] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  (148 bytes)
  INFO [SSTableBatchOpen:2] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  (226 bytes)
  INFO [SSTableBatchOpen:3] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  (89 bytes)
 ERROR [SSTableBatchOpen:3] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:3,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:2] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:2,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:1] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:1,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
  INFO 

[jira] [Commented] (CASSANDRA-4567) Error in log related to Murmur3Partitioner

2012-08-28 Thread Pavel Yaskevich (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13443554#comment-13443554
 ] 

Pavel Yaskevich commented on CASSANDRA-4567:


I see you added partitionerName to GossipDigestSynVerbHandler but I think 
better would be to add it to DatabaseDescriptor which would allow us to use it 
in GossipDigestSynVerbHandler and well as Gossiper :)

 Error in log related to Murmur3Partitioner
 --

 Key: CASSANDRA-4567
 URL: https://issues.apache.org/jira/browse/CASSANDRA-4567
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2.0 beta 1
 Environment: Using ccm on ubuntu
Reporter: Tyler Patterson
Assignee: Vijay
 Fix For: 1.2.0 beta 1

 Attachments: 0001-CASSANDRA-4567.patch, 0001-CASSANDRA-4567-v2.patch


 Start a 2-node cluster on cassandra-1.1. Bring down one node, upgrade it to 
 trunk, start it back up. The following error shows up in the log:
 {code}
 ...
  INFO [main] 2012-08-22 10:44:40,012 CacheService.java (line 170) Scheduling 
 row cache save to each 0 seconds (going to save all keys).
  INFO [SSTableBatchOpen:1] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  (148 bytes)
  INFO [SSTableBatchOpen:2] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  (226 bytes)
  INFO [SSTableBatchOpen:3] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  (89 bytes)
 ERROR [SSTableBatchOpen:3] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:3,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:2] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:2,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:1] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:1,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 

[jira] [Commented] (CASSANDRA-4567) Error in log related to Murmur3Partitioner

2012-08-27 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13442526#comment-13442526
 ] 

Jonathan Ellis commented on CASSANDRA-4567:
---

We could check partitioner on bootstrap the way we do cluster name...

 Error in log related to Murmur3Partitioner
 --

 Key: CASSANDRA-4567
 URL: https://issues.apache.org/jira/browse/CASSANDRA-4567
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2.0
 Environment: Using ccm on ubuntu
Reporter: Tyler Patterson
Assignee: Pavel Yaskevich
 Fix For: 1.2.0


 Start a 2-node cluster on cassandra-1.1. Bring down one node, upgrade it to 
 trunk, start it back up. The following error shows up in the log:
 {code}
 ...
  INFO [main] 2012-08-22 10:44:40,012 CacheService.java (line 170) Scheduling 
 row cache save to each 0 seconds (going to save all keys).
  INFO [SSTableBatchOpen:1] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  (148 bytes)
  INFO [SSTableBatchOpen:2] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  (226 bytes)
  INFO [SSTableBatchOpen:3] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  (89 bytes)
 ERROR [SSTableBatchOpen:3] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:3,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:2] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:2,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:1] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:1,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
  INFO [main] 2012-08-22 10:44:40,486 

[jira] [Commented] (CASSANDRA-4567) Error in log related to Murmur3Partitioner

2012-08-24 Thread Vijay (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13440978#comment-13440978
 ] 

Vijay commented on CASSANDRA-4567:
--

Not sure if i understand it right. 

Do you want to remove the check for partitioner? We should always check because 
the distributions are different between OPP vs RP even M3P (Will cause data 
loss), right?

 Error in log related to Murmur3Partitioner
 --

 Key: CASSANDRA-4567
 URL: https://issues.apache.org/jira/browse/CASSANDRA-4567
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2.0
 Environment: Using ccm on ubuntu
Reporter: Tyler Patterson
Assignee: Pavel Yaskevich
 Fix For: 1.2.0


 Start a 2-node cluster on cassandra-1.1. Bring down one node, upgrade it to 
 trunk, start it back up. The following error shows up in the log:
 {code}
 ...
  INFO [main] 2012-08-22 10:44:40,012 CacheService.java (line 170) Scheduling 
 row cache save to each 0 seconds (going to save all keys).
  INFO [SSTableBatchOpen:1] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  (148 bytes)
  INFO [SSTableBatchOpen:2] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  (226 bytes)
  INFO [SSTableBatchOpen:3] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  (89 bytes)
 ERROR [SSTableBatchOpen:3] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:3,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:2] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:2,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:1] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:1,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 

[jira] [Commented] (CASSANDRA-4567) Error in log related to Murmur3Partitioner

2012-08-23 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13440907#comment-13440907
 ] 

Jonathan Ellis commented on CASSANDRA-4567:
---

Should we just ignore the partitioner after first startup, the way we do with 
initial_token?

 Error in log related to Murmur3Partitioner
 --

 Key: CASSANDRA-4567
 URL: https://issues.apache.org/jira/browse/CASSANDRA-4567
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2.0
 Environment: Using ccm on ubuntu
Reporter: Tyler Patterson
Assignee: Pavel Yaskevich
 Fix For: 1.2.0


 Start a 2-node cluster on cassandra-1.1. Bring down one node, upgrade it to 
 trunk, start it back up. The following error shows up in the log:
 {code}
 ...
  INFO [main] 2012-08-22 10:44:40,012 CacheService.java (line 170) Scheduling 
 row cache save to each 0 seconds (going to save all keys).
  INFO [SSTableBatchOpen:1] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  (148 bytes)
  INFO [SSTableBatchOpen:2] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  (226 bytes)
  INFO [SSTableBatchOpen:3] 2012-08-22 10:44:40,106 SSTableReader.java (line 
 164) Opening 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  (89 bytes)
 ERROR [SSTableBatchOpen:3] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:3,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-3
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:2] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:2,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-1
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 ERROR [SSTableBatchOpen:1] 2012-08-22 10:44:40,114 CassandraDaemon.java (line 
 131) Exception in thread Thread[SSTableBatchOpen:1,5,main]
 java.lang.RuntimeException: Cannot open 
 /tmp/dtest-IYHWfV/test/node1/data/system/LocationInfo/system-LocationInfo-he-2
  because partitioner does not match 
 org.apache.cassandra.dht.Murmur3Partitioner
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:175)
 at 
 org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:149)
 at 
 org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:236)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
  INFO [main] 2012-08-22