RE: Cassandra Mesos Framework Issue
I'm using https://mesosphere.com/2014/02/12/cassandra-on-mesos-scalable-enterprise-storage/ I'm using Mesos 0.19 here and I think that may be the contributing to the issue. I'm giving it a try with a clean build of 0.20. -Original Message- From: rasput...@gmail.com [mailto:rasput...@gmail.com] On Behalf Of Dick Davies Sent: Sunday, October 19, 2014 7:35 AM To: user@mesos.apache.org Subject: Re: Cassandra Mesos Framework Issue Issue seems to be with how the tasks are asking for port resources - I'd guess whichever tutorial you're using may be using an old/invalid syntax. What tutorial are you working from? On 18 October 2014 15:08, David Palaitis wrote: > I am having trouble getting Cassandra Mesos to work in a simple test > environment. The framework connects, but tasks get lost with the > following error. > > > > 215872 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - > Got new resource offers ArrayBuffer(abc.def.ghi.com) > > 215875 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - > resources offered: List((cpus,32.0), (mem,127877.0), (disk,2167529.0), > (ports,0.0)) > > 215875 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - > resources required: List((cpus,1.0), (mem,2048.0), (ports,0.0), > (disk,1000.0)) > > 215877 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - > Accepted > offer: abc.def.ghi.com > > 215889 [Thread-114] INFO mesosphere.cassandra.CassandraScheduler - > Received status update for task task1413640484861: TASK_LOST (Task > uses invalid > resources: ports(*):0) > > > > I tried configuring a port resource in the slave and restarting but > still get the same error e.g. > > > > ${INSTALL_DIR}/sbin/mesos-slave \ > > --master=zk://abc.def.ghi.com:2181/mesos \ > > --resources='mem:245760;ports(*):[31000-32000]' > > > > Any leads? > > > > > >
Re: Cassandra Mesos Framework Issue
Issue seems to be with how the tasks are asking for port resources - I'd guess whichever tutorial you're using may be using an old/invalid syntax. What tutorial are you working from? On 18 October 2014 15:08, David Palaitis wrote: > I am having trouble getting Cassandra Mesos to work in a simple test > environment. The framework connects, but tasks get lost with the following > error. > > > > 215872 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - Got new > resource offers ArrayBuffer(abc.def.ghi.com) > > 215875 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - > resources offered: List((cpus,32.0), (mem,127877.0), (disk,2167529.0), > (ports,0.0)) > > 215875 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - > resources required: List((cpus,1.0), (mem,2048.0), (ports,0.0), > (disk,1000.0)) > > 215877 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - Accepted > offer: abc.def.ghi.com > > 215889 [Thread-114] INFO mesosphere.cassandra.CassandraScheduler - Received > status update for task task1413640484861: TASK_LOST (Task uses invalid > resources: ports(*):0) > > > > I tried configuring a port resource in the slave and restarting but still > get the same error e.g. > > > > ${INSTALL_DIR}/sbin/mesos-slave \ > > --master=zk://abc.def.ghi.com:2181/mesos \ > > --resources='mem:245760;ports(*):[31000-32000]' > > > > Any leads? > > > > > >
Cassandra Mesos Framework Issue
I am having trouble getting Cassandra Mesos to work in a simple test environment. The framework connects, but tasks get lost with the following error. 215872 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - Got new resource offers ArrayBuffer(abc.def.ghi.com) 215875 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - resources offered: List((cpus,32.0), (mem,127877.0), (disk,2167529.0), (ports,0.0)) 215875 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - resources required: List((cpus,1.0), (mem,2048.0), (ports,0.0), (disk,1000.0)) 215877 [Thread-113] INFO mesosphere.cassandra.CassandraScheduler - Accepted offer: abc.def.ghi.com 215889 [Thread-114] INFO mesosphere.cassandra.CassandraScheduler - Received status update for task task1413640484861: TASK_LOST (Task uses invalid resources: ports(*):0) I tried configuring a port resource in the slave and restarting but still get the same error e.g. ${INSTALL_DIR}/sbin/mesos-slave \ --master=zk://abc.def.ghi.com:2181/mesos \ --resources='mem:245760;ports(*):[31000-32000]' Any leads?