Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 24996 invoked from network); 16 Jul 2009 04:23:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 04:23:58 -0000 Received: (qmail 30231 invoked by uid 500); 16 Jul 2009 04:25:03 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 30204 invoked by uid 500); 16 Jul 2009 04:25:03 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 30194 invoked by uid 99); 16 Jul 2009 04:25:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 04:25:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eweaver@gmail.com designates 209.85.210.191 as permitted sender) Received: from [209.85.210.191] (HELO mail-yx0-f191.google.com) (209.85.210.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 04:24:52 +0000 Received: by yxe29 with SMTP id 29so6594171yxe.32 for ; Wed, 15 Jul 2009 21:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=TLoWjIwYxms2eEHEakMnKKJR0hUbqIaYddYtDqQIj4A=; b=BCahBhm0vm/MzOZqi96Ytak8kTmXKogYgXEp/yhJzw/nBvm5QBIIm7O8sZoxQKbmy7 0q8gW5hwGSoiqXmyIqPYI4zs99Pt5Oji6PZRRCBW0DXjqY57R4yhpN7e40LOfsxj/Dqk nCjQfntoBMkG/jiFWCHdWmKN7wYJG6m5xS938= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=gOFABxf4swVNkhRQf96R6VUjkRVlbaYBtaIz2LKq5D+LxBHUUZqw0eRfDuqIbntUVW GeFmuZOEmwQ+wg/XpqbtiQn4YTNLb0rGjSv4r+5PECtfkYOkWZhXHb+p4GUPv9yoNrWO jM2DoXuv5un9bdoIWrsrckkfB5tH+steUn/ZI= MIME-Version: 1.0 Received: by 10.150.228.17 with SMTP id a17mr13833091ybh.107.1247718271072; Wed, 15 Jul 2009 21:24:31 -0700 (PDT) In-Reply-To: References: <20090715230302.GA29001@alumni.caltech.edu> From: Evan Weaver Date: Wed, 15 Jul 2009 21:24:11 -0700 Message-ID: Subject: Re: one server or more servers? To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Oh, yeah, definitely set ListenAddress to blank. 0.0.0.0 doesn't mean "all interfaces" for some reason I forget. Evan On Wed, Jul 15, 2009 at 9:23 PM, Evan Weaver wrote: > Try with only one seed. Not every host has to be in the seeds. > > Evan > > On Wed, Jul 15, 2009 at 8:52 PM, wrote: >> in Seeds >> can we specify domain name instead of ip address >> right now seeds is specifying ip address >> >> On Wed, Jul 15, 2009 at 4:49 PM, Evan Weaver wrote: >>> >>> I sometimes have to use 127.0.0.1, at least when ListenAddress is >>> blank (auto-discover). Dunno if that has changed. >>> >>> Looks like this if you're successful: >>> >>> $ bin/nodeprobe --host 10.224.17.13 ring >>> Token(124007023942663924846758258675932114665) =A03 10.224.17.13 =A0|<-= -| >>> Token(106858063638814585506848525974047690568) =A03 10.224.17.19 =A0| = =A0 ^ >>> Token(141130545721235451315477340120224986045) =A03 10.224.17.14 =A0|--= >| >>> >>> Evan >>> >>> On Wed, Jul 15, 2009 at 4:24 PM, Michael Greene >>> wrote: >>> > The port you're looking for is typically 8080, but if you only specif= y >>> > the host and not the port it shoudl work just fine. >>> > >>> > bin/nodeprobe -host localhost >>> > >>> > Michael >>> > >>> > On Wed, Jul 15, 2009 at 6:18 PM, wrote: >>> >> bin]$ ./nodeprobe -host localhost -port 8888 >>> >> Error connecting to remote JMX agent! >>> >> java.io.IOException: Failed to retrieve RMIServer stub: >>> >> javax.naming.CommunicationException [Root exception is >>> >> java.rmi.ConnectIOException: error during JRMP connection >>> >> establishment; >>> >> nested exception is: >>> >> =A0=A0 =A0 =A0 =A0java.io.EOFException] >>> >> =A0=A0 =A0 =A0 =A0at >>> >> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:3= 42) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> >>> >> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFact= ory.java:267) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:149) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> org.apache.cassandra.tools.NodeProbe.(NodeProbe.java:111) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> org.apache.cassandra.tools.NodeProbe.main(NodeProbe.java:470) >>> >> Caused by: javax.naming.CommunicationException [Root exception is >>> >> java.rmi.ConnectIOException: error during JRMP connection >>> >> establishment; >>> >> nested exception is: >>> >> =A0=A0 =A0 =A0 =A0java.io.EOFException] >>> >> =A0=A0 =A0 =A0 =A0at >>> >> >>> >> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.jav= a:118) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> >>> >> com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.= java:203) >>> >> =A0=A0 =A0 =A0 =A0at javax.naming.InitialContext.lookup(InitialConte= xt.java:409) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> >>> >> javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnec= tor.java:1902) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> >>> >> javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.= java:1871) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:2= 76) >>> >> =A0=A0 =A0 =A0 =A0... 4 more >>> >> Caused by: java.rmi.ConnectIOException: error during JRMP connection >>> >> establishment; nested exception is: >>> >> =A0=A0 =A0 =A0 =A0java.io.EOFException >>> >> =A0=A0 =A0 =A0 =A0at >>> >> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:30= 4) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) >>> >> =A0=A0 =A0 =A0 =A0at sun.rmi.server.UnicastRef.newCall(UnicastRef.ja= va:340) >>> >> =A0=A0 =A0 =A0 =A0at sun.rmi.registry.RegistryImpl_Stub.lookup(Unkno= wn Source) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> >>> >> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.jav= a:114) >>> >> =A0=A0 =A0 =A0 =A0... 9 more >>> >> Caused by: java.io.EOFException >>> >> =A0=A0 =A0 =A0 =A0at java.io.DataInputStream.readByte(DataInputStrea= m.java:267) >>> >> =A0=A0 =A0 =A0 =A0at >>> >> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:24= 6) >>> >> =A0=A0 =A0 =A0 =A0... 13 more >>> >> >>> >> On Wed, Jul 15, 2009 at 4:17 PM, wrote: >>> >>> >>> >>> port 7002 doesnt trying nodeprobe >>> >>> >>> >>> On Wed, Jul 15, 2009 at 4:03 PM, Anthony Molinaro >>> >>> wrote: >>> >>>> >>> >>>> Alternatively if you are using the 0.3 release you can point a >>> >>>> browser >>> >>>> at port 7002 of one of the boxes and should see all the nodes in t= he >>> >>>> list. >>> >>>> >>> >>>> -Anthony >>> >>>> >>> >>>> On Wed, Jul 15, 2009 at 05:40:27PM -0500, Michael Greene wrote: >>> >>>> > You can use the nodeprobe utility in bin/ to contact each node a= nd >>> >>>> > make sure they see the same information. =A0Run it with no argum= ents >>> >>>> > to >>> >>>> > see the commands you can pass it. >>> >>>> > >>> >>>> > There is also an open issue at >>> >>>> > https://issues.apache.org/jira/browse/CASSANDRA-252 for making t= his >>> >>>> > a >>> >>>> > little more automatic (instead of having to run nodeprobe on eac= h >>> >>>> > node >>> >>>> > and check the results by hand, you can just pass in all the serv= ers >>> >>>> > that you think should be able to see each other) but there's no >>> >>>> > code >>> >>>> > for this yet. >>> >>>> > >>> >>>> > Michael >>> >>>> > >>> >>>> > On Wed, Jul 15, 2009 at 5:33 PM, wrot= e: >>> >>>> > > Mark and Jonathan >>> >>>> > > I have started cassandra on 4 servers with all 4 of them as se= eds >>> >>>> > > how do i know all 4 are now part of the datastore >>> >>>> > > are there ways to test this >>> >>>> > > thanks a lot >>> >>>> > > >>> >>>> > > On Tue, Jul 14, 2009 at 8:30 AM, Mark Robson >>> >>>> > > wrote: >>> >>>> > >> >>> >>>> > >> 2009/7/14 >>> >>>> > >>> >>> >>>> > >>> 1. If you only have 3 production servers, Cassandra may not = do >>> >>>> > >>> much >>> >>>> > >>> for >>> >>>> > >>> you. You will probably only care if you have lots more serve= rs. >>> >>>> > >>> 3 >>> >>>> > >>> servers is >>> >>>> > >>> a reasonable minimum for a test / dev environment >>> >>>> > >>> At How many servers does cassandra start really performing? >>> >>>> > >>> or how many servers is an ideal setup say for a game 10? >>> >>>> > >> >>> >>>> > >> It can use any number, three is probably a reasonable minimum= , I >>> >>>> > >> don't >>> >>>> > >> know what the maximum is. >>> >>>> > >> >>> >>>> > >> If you have a small number of servers, there is probably no >>> >>>> > >> reason >>> >>>> > >> to use >>> >>>> > >> Cassandra; you can more usefully use a conventional database >>> >>>> > >> with >>> >>>> > >> replication or sharding. >>> >>>> > >> >>> >>>> > >> The reason you might want to use Cassandra is to scale writes= a >>> >>>> > >> lot, >>> >>>> > >> to >>> >>>> > >> levels you couldn't reach with more "conventional" databases. >>> >>>> > >> >>> >>>> > >> In all likelihood, an application would use Cassandra to stor= e >>> >>>> > >> high-volume >>> >>>> > >> high-write data alongside a more conventional database to sto= re >>> >>>> > >> smaller, >>> >>>> > >> less frequently changing stuff. >>> >>>> > >> >>> >>>> > >> It appears to me that Cassandra 0.3 is only really useful if >>> >>>> > >> running >>> >>>> > >> on a >>> >>>> > >> homogenous cluster of dedicated servers with reasonable amoun= ts >>> >>>> > >> of >>> >>>> > >> memory / >>> >>>> > >> storage (But not necessarily high spec servers of CPU, IO spe= ed >>> >>>> > >> or >>> >>>> > >> internal >>> >>>> > >> redundancy). >>> >>>> > >> >>> >>>> > >> Once the load balancing is implemented in 0.5 (according to >>> >>>> > >> current >>> >>>> > >> plans) >>> >>>> > >> it will become more useful for heterogenous environments. >>> >>>> > >> >>> >>>> > >> Mark >>> >>>> > > >>> >>>> > > >>> >>>> > > >>> >>>> > > -- >>> >>>> > > Bidegg worlds best auction site >>> >>>> > > http://bidegg.com >>> >>>> > > >>> >>>> >>> >>>> -- >>> >>>> >>> >>>> ------------------------------------------------------------------= ------ >>> >>>> Anthony Molinaro >>> >>>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Bidegg worlds best auction site >>> >>> http://bidegg.com >>> >> >>> >> >>> >> >>> >> -- >>> >> Bidegg worlds best auction site >>> >> http://bidegg.com >>> >> >>> > >>> >>> >>> >>> -- >>> Evan Weaver >> >> >> >> -- >> Bidegg worlds best auction site >> http://bidegg.com >> > > > > -- > Evan Weaver > --=20 Evan Weaver