Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 16243 invoked from network); 27 Oct 2010 19:46:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Oct 2010 19:46:52 -0000 Received: (qmail 20833 invoked by uid 500); 27 Oct 2010 19:46:50 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20808 invoked by uid 500); 27 Oct 2010 19:46:50 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 20800 invoked by uid 99); 27 Oct 2010 19:46:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 19:46:50 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 19:46:43 +0000 Received: by gwb15 with SMTP id 15so786166gwb.31 for ; Wed, 27 Oct 2010 12:46:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.188.7 with SMTP id q7mr8279774anp.207.1288208782199; Wed, 27 Oct 2010 12:46:22 -0700 (PDT) Received: by 10.101.39.3 with HTTP; Wed, 27 Oct 2010 12:46:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Oct 2010 12:46:22 -0700 Message-ID: Subject: Re: 0.7 problem on cygwin From: Chris Oei To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636ed7099dc0cc904939e7ac0 X-Virus-Checked: Checked by ClamAV on apache.org --001636ed7099dc0cc904939e7ac0 Content-Type: text/plain; charset=ISO-8859-1 Sorry -- I don't quite understand: what is not supported by cassandra? The bin directory contains cassandra.bat, so I assumed cassandra works on Windows. Do you mean that cassandra works on Windows but not on cygwin? I had already checked my cassandra.yaml file to make sure that I used backslashes instead of forward slashes. I don't think I had this problem on 0.6.5. Thanks, Chris On Wed, Oct 27, 2010 at 12:35 PM, ruslan usifov wrote: > It occurs from for differences between pathseparator chars in windows(\) > and unix(or mac os("/")), and this doesn't supported by cassandra. If you > interesting a cant send patch to you which solve this problem. Why so? i > don't know this question to developers of cassandra > > 2010/10/27 Chris Oei > > Hi all, >> >> I'm getting the following when I try to bootstrap my Cassandra cluster on >> a Windows >> machine. >> >> INFO 11:47:10,300 Joining: sleeping 30000 ms for pending range setup >> INFO 11:47:40,302 Bootstrapping >> ERROR 11:47:40,453 Fatal exception in thread Thread[Thread-5,5,main] >> java.lang.AssertionError: Filename must include parent directory. >> at >> org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.ja >> va:110) >> at >> org.apache.cassandra.streaming.PendingFile$PendingFileSerializer.dese >> rialize(PendingFile.java:121) >> at >> org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.de >> serialize(StreamHeader.java:90) >> at >> org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.de >> serialize(StreamHeader.java:72) >> at >> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnect >> ion.java:74) >> >> My linux (Ubuntu 10.04) node bootstrapped just fine (using another Ubuntu >> node as a >> seed). I'm guessing there's some weirdness involving linux vs. >> cygwin/Windows filenames. >> nodetool says the cygwin node is stuck at "Joining 154.98 KB". >> >> My system (the problem node): >> cassandra 0.7.0 RC1 binary (second attempt, dated Oct 26, 2010) >> cygwin 1.7 >> Windows 7 (64-bit) >> java 1.6.0_21 hotspot (32-bit, I think) >> 4 GB RAM >> >> The other nodes (which seem to work fine) are Ubuntu systems. >> >> Also, my data set (for this test) is only 23 MB and nobody except me is >> reading or >> writing to the cluster. >> >> Ideas, anyone? >> >> Thanks, >> Chris >> > > --001636ed7099dc0cc904939e7ac0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry -- I don't quite understand: what is not supported by cassandra? = The bin directory contains
cassandra.bat, so I assumed cassandra works o= n Windows. Do you mean that cassandra works on
Windows but not on cygwin= ? I had already checked my cassandra.yaml file to make sure that
I used backslashes instead of forward slashes.

I don't think I h= ad this problem on 0.6.5.

Thanks,
Chris

On Wed, Oct 27, 2010 at 12:35 PM, ruslan usifov = <ruslan.usifov@gmail.com&= gt; wrote:
It occurs from fo= r differences between pathseparator chars in windows(\)=A0 and unix(or mac = os("/")), and this doesn't supported by cassandra. If you int= eresting a cant send patch to you which solve this problem. Why so? i don&#= 39;t know this question to developers of cassandra
=A0
2010/10/27 Chris Oei &l= t;chris.oei@nest= ria.com>

Hi all,

I'm getting the following when I try to bootstrap my Cas= sandra cluster on a Windows
machine.

INFO 11:47:10,300 Joining: sleeping 30000 m= s for pending range setup
=A0INFO 11:47:40,302 Bootstrapping
ERROR 11:47:40,453 Fatal exception in= thread Thread[Thread-5,5,main]
java.lang.AssertionError: Filename must = include parent directory.
=A0=A0=A0=A0=A0=A0=A0 at org.apache.cassandra.= io.sstable.Descriptor.fromFilename(Descriptor.ja
va:110)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.cassandra.streaming.PendingF= ile$PendingFileSerializer.dese
rialize(PendingFile.java:121)
=A0=A0= =A0=A0=A0=A0=A0 at org.apache.cassandra.streaming.StreamHeader$StreamHeader= Serializer.de
serialize(StreamHeader.java:90)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.cassandra.streaming.StreamHeader$Stream= HeaderSerializer.de
serialize(StreamHeader.java:72)
=A0=A0=A0=A0=A0= =A0=A0 at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpCon= nect
ion.java:74)

My linux (Ubuntu 10.04) node bootstrapped just fine (using another Ubuntu n= ode as a
seed). I'm guessing there's some weirdness involving li= nux vs. cygwin/Windows filenames.
nodetool says the cygwin node is stuck= at "Joining 154.98 KB".

My system (the problem node):
cassandra 0.7.0 RC1 binary (second att= empt, dated Oct 26, 2010)
cygwin 1.7
Windows 7 (64-bit)
java 1.6.0= _21 hotspot (32-bit, I think)
4 GB RAM

The other nodes (which see= m to work fine) are Ubuntu systems.

Also, my data set (for this test) is only 23 MB and nobody except me is= reading or
writing to the cluster.

Ideas, anyone?

Thanks,=
Chris


--001636ed7099dc0cc904939e7ac0--