cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Wikblom <mikael.wikb...@sitevision.se>
Subject Fwd: Mixing different OS in a cassandra cluster
Date Fri, 27 May 2011 12:24:43 GMT
Hi,

I tried to mix windows and linux in a cassandra cluster version 0.7.4 
and got an exception on a linux node bootstrapping from a windows node.

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at 
org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:117)
at 
org.apache.cassandra.streaming.PendingFile$PendingFileSerializer.deserialize(PendingFile.java:126)
at 
org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.deserialize(StreamHeader.java:90)
at 
org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.deserialize(StreamHeader.java:72)
at 
org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:90)

the problem is that the file name separator differs on windows and 
linux. Are there any plans to fix support for clusters with mixed nodes? 
A fix for the file name issue would be quite simple.

Thanks and regards
Mikael Wikblom

Mime
View raw message