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

Reply via email to