Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59E391079F for ; Thu, 12 Dec 2013 15:31:20 +0000 (UTC) Received: (qmail 93145 invoked by uid 500); 12 Dec 2013 15:31:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93098 invoked by uid 500); 12 Dec 2013 15:31:17 -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 93090 invoked by uid 99); 12 Dec 2013 15:31:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 15:31:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cayiroglu@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 15:31:12 +0000 Received: by mail-wg0-f47.google.com with SMTP id n12so598224wgh.14 for ; Thu, 12 Dec 2013 07:30:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DuS7ZLyqihgvAmr87HGpSxskyGJeqhEh6bCrOhMugVg=; b=CVAQR64sW9kGcIusLtbIozp83TWIvoRUZXsEd1eRk+utQwCrH8+a3IC6AM2XUUoPFw RG/eMFBW890TOwQlb1JrxrCqyhE4f9P3ODtoxKnIxSFxJrQ4R5CmmXgCMCYx8FMr8+7r ijyqCK64xaAJyrg0t8w+Yrf6H6nHFxW+FQWfoUcQrs9uiCuOgNcml6avlKS6uSO3o3Kj 0Xfy16/S0AWM0hUglswecVICnVbSIj+860XVL2kuyVdStKRnJP4QUjDWLCUifDco/yVa pkFgHKHVfT3vVj4fzyceun3Z1nJFGvAvIcMPtiZq4zPQsI/HSe01OToxZmRSrFY2djip yQOA== MIME-Version: 1.0 X-Received: by 10.180.206.138 with SMTP id lo10mr8197440wic.25.1386862251699; Thu, 12 Dec 2013 07:30:51 -0800 (PST) Received: by 10.194.22.69 with HTTP; Thu, 12 Dec 2013 07:30:51 -0800 (PST) In-Reply-To: <9E2E932E-921B-482B-96A6-7D58C173F1E2@thelastpickle.com> References: <9E2E932E-921B-482B-96A6-7D58C173F1E2@thelastpickle.com> Date: Thu, 12 Dec 2013 09:30:51 -0600 Message-ID: Subject: Re: 2 nodes cassandra cluster raid10 or JBOD From: cem To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a11c26b26dd864304ed5807fa X-Virus-Checked: Checked by ClamAV on apache.org --001a11c26b26dd864304ed5807fa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks! On Wed, Dec 11, 2013 at 9:37 PM, Aaron Morton wrot= e: > If you have two nodes, and RF 2, you will only be able to use eventual > consistency. If you want to have stronger consistency and some redundancy= 3 > nodes is the minimum requirement. > > In the current setup, with only 2 nodes, I would use RAID 10 as it > requires less operator intervention and there is a chance of data loss wi= th > RF 2. If a write (including the hints) is only committed to one node and > the disk on that node fails the write will be lost. > > Hope that helps. > > > ----------------- > Aaron Morton > New Zealand > @aaronmorton > > Co-Founder & Principal Consultant > Apache Cassandra Consulting > http://www.thelastpickle.com > > On 11/12/2013, at 9:33 pm, Veysel Ta=C5=9F=C3=A7=C4=B1o=C4=9Flu > wrote: > > Hi, > > What about using JBOD and replication factor 2? > > Regards. > On 11 Dec 2013 02:03, "cem" wrote: > >> Hi all, >> >> I need to setup 2 nodes Cassandra cluster. I know that Datastax >> recommends using JBOD as a disk configuration and have replication for t= he >> redundancy. I was planning to use RAID 10 but using JBOD can save 50% di= sk >> space and increase the performance . But I am not sure I should use JBOD >> with 2 nodes cluster since there is a higher chance to lose 50% of our >> cluster compare to a larger cluster. I may prefer to have stronger nodes= if >> I have limited number of nodes. >> >> >> What do you think about that? Is there anyone who has 2 nodes cluster? >> >> >> Best Regards, >> >> Cem >> > > --001a11c26b26dd864304ed5807fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks!


On Wed, Dec 11, 2013 at 9:37 PM, Aaron Morton <aaro= n@thelastpickle.com> wrote:
If you h= ave two nodes, and RF 2, you will only be able to use eventual consistency.= If you want to have stronger consistency and some redundancy 3 nodes is th= e minimum requirement.=C2=A0

In the current setup, with only 2 nodes, I would use RAID 10= as it requires less operator intervention and there is a chance of data lo= ss with RF 2. If a write (including the hints) is only committed to one nod= e and the disk on that node fails the write will be lost.=C2=A0
=C2=A0=C2=A0=C2=A0
Hope that helps.=C2=A0


-----------------
Aaron Morton
New Zealand
@aaronmorton

Co-Founder & Principal Consult= ant
Apache Cassandra Consulting

On 11/12/2013, at 9:33 pm, Veysel Ta=C5=9F=C3=A7=C4=B1o=C4=9F= lu <veys= el.tascioglu@gmail.com> wrote:

Hi,

What about using JBOD and replication factor 2?

Regards.<= /p>

On 11 Dec 2013 02:03, "cem" <cayiroglu@gmail.com&= gt; wrote:
Hi all,

I need to setup 2 nodes Cassand= ra cluster. I know that=C2=A0Datastax = recommends using JBOD as a disk configuration and have replication for the = redundancy. I was planning to use RAID 10 but using JBOD can save 50% disk space and increase the performance . But I am not sure I should use JB= OD with 2 nodes cluster since there is a higher chance to lose 50% of our cluster compare to a larger cluster. I may prefer to have stronger n= odes if I have limited number of nodes.=C2=A0
=C2=A0

What do you think about that? Is there an= yone who has 2 nodes cluster?


=

Best Regards,

Cem



--001a11c26b26dd864304ed5807fa--