You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Mikael Wikblom <mi...@sitevision.se> on 2011/05/27 14:24:43 UTC
Fwd: Mixing different OS in a cassandra cluster
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
Re: Fwd: Mixing different OS in a cassandra cluster
Posted by Jonathan Ellis <jb...@gmail.com>.
Right. This is not supported.
On May 27, 2011 7:25 AM, "Mikael Wikblom" <mi...@sitevision.se>
wrote:
> 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