Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 49631 invoked from network); 27 Oct 2010 21:17:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Oct 2010 21:17:39 -0000 Received: (qmail 44055 invoked by uid 500); 27 Oct 2010 21:17:37 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44033 invoked by uid 500); 27 Oct 2010 21:17:37 -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 44023 invoked by uid 99); 27 Oct 2010 21:17:36 -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 21:17:36 +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 21:17:30 +0000 Received: by gwb15 with SMTP id 15so868522gwb.31 for ; Wed, 27 Oct 2010 14:17:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.91.18.26 with SMTP id v26mr1549959agi.95.1288214220124; Wed, 27 Oct 2010 14:17:00 -0700 (PDT) Received: by 10.101.39.3 with HTTP; Wed, 27 Oct 2010 14:17:00 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Oct 2010 14:17:00 -0700 Message-ID: Subject: Re: 0.7 problem on cygwin From: Chris Oei To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e640d506fc346f04939fbef6 X-Virus-Checked: Checked by ClamAV on apache.org --0016e640d506fc346f04939fbef6 Content-Type: text/plain; charset=ISO-8859-1 I guess so. I tried hacking a quick work-around for the "Filename must include parent directory", but I got another error (below). So, since it appears that mixing architectures is not officially supported, I think I'll give up on this. Goodbye, Windows 7. Thanks, Chris ERROR 14:07:47,534 Fatal exception in thread Thread[MiscStage:3,5,main] java.lang.IllegalStateException: target reports current file is \home\software\data\cassandra\data\Logbook\Entries-e-200-Data.db but is /home/software/data/cassandra/data/Logbook/Entries-e-200-Data.db at org.apache.cassandra.streaming.StreamOutSession.validateCurrentFile(StreamOutSession.java:167) at org.apache.cassandra.streaming.StreamReplyVerbHandler.doVerb(StreamReplyVerbHandler.java:53) at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:50) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) On Wed, Oct 27, 2010 at 2:06 PM, Jonathan Ellis wrote: > Short version: don't mix nodes on different architectures in the same > cluster. > > On Wed, Oct 27, 2010 at 2:09 PM, Chris Oei wrote: > > 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 > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com > --0016e640d506fc346f04939fbef6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I guess so. I tried hacking a quick work-around for the "Filename must= include parent directory", but I got another error (below).

<= /div>
So, since it appears that mixing architectures is not officially = supported, I think I'll
give up on this. Goodbye, Windows 7.

Thanks,<= /div>
Chris

ERROR 14:07:47,534 Fatal exception = in thread Thread[MiscStage:3,5,main]
java.lang.IllegalStateExcept= ion: target reports current file is \home\software\data\cassandra\data\Logb= ook\Entries-e-200-Data.db but is /home/software/data/cassandra/data/Logbook= /Entries-e-200-Data.db
at or= g.apache.cassandra.streaming.StreamOutSession.validateCurrentFile(StreamOut= Session.java:167)
at org.apache.cassandra.streaming.StreamReplyVerbHandler.= doVerb(StreamReplyVerbHandler.java:53)
at or= g.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:50)=
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja= va:1110)
at ja= va.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:60= 3)
at java.lang.Thread.run(Thread.java:636)



On Wed, Oct 27= , 2010 at 2:06 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
Short version: don't mix nodes on different architectures in the same c= luster.

On Wed, Oct 27, 2010 at 2:09 PM, Chris Oei <chris.oei@nestria.com> wrote:
> Hi all,
>
> I'm getting the following when I try to bootstrap my Cassandra clu= ster on a
> Windows
> machine.
>
> INFO 11:47:10,300 Joining: sleeping 30000 ms 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<= br> > va:110)
> =A0=A0=A0=A0=A0=A0=A0 at
> org.apache.cassandra.streaming.PendingFile$PendingFileSerializer.dese<= br> > rialize(PendingFile.java:121)
> =A0=A0=A0=A0=A0=A0=A0 at
> org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.de<= br> > serialize(StreamHeader.java:90)
> =A0=A0=A0=A0=A0=A0=A0 at
> org.apache.cassandra.streaming.StreamHeader$StreamHeaderSerializer.de<= br> > serialize(StreamHeader.java:72)
> =A0=A0=A0=A0=A0=A0=A0 at
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnect<= br> > ion.java:74)
>
> My linux (Ubuntu 10.04) node bootstrapped just fine (using another Ubu= ntu
> 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 i= s
> reading or
> writing to the cluster.
>
> Ideas, anyone?
>
> Thanks,
> Chris
>



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

--0016e640d506fc346f04939fbef6--