Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 8808 invoked from network); 21 Dec 2009 08:37:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 08:37:54 -0000 Received: (qmail 25972 invoked by uid 500); 21 Dec 2009 08:37:54 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 25908 invoked by uid 500); 21 Dec 2009 08:37:53 -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 25899 invoked by uid 99); 21 Dec 2009 08:37:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 08:37:52 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mail.list.steel.mental@gmail.com designates 209.85.217.219 as permitted sender) Received: from [209.85.217.219] (HELO mail-gx0-f219.google.com) (209.85.217.219) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 08:37:43 +0000 Received: by gxk19 with SMTP id 19so1056321gxk.0 for ; Mon, 21 Dec 2009 00:37:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=cwV1aau1l5bAqgW3aEnfeYEpXbMjnxpwnT7kwscjo34=; b=qCPUQfFZ2R/bNEGdwzPjdTpDtiprt/1CrytiQAXuw/fJU63sfX1HYTAfGOU747+cLF 20SdcP8zpWu2MaHOeIBFgcl7rdFugueMlZ06/qkDY9wE0kS9gEKzHKZRlInrVkur7t5z iRvUs4Et3O6AtMbdCHaDc9tonGM0vicBoFwr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=gHN+IX2dkGvjyzhGvF1SBXJekP4gOp+H2qkwg0rAAu79TEWWGNZA3SFEvvmN6Rzzrk rEQV+HRiePNvxEP2RrxURMDC4dU4RG06QQ7fY1ZFlxnWjfD9WYwWjr2KNTD20bsHs7Xe 1J97alOTHgsIvuKsT0kV2t7217IKKArSUjRVI= Received: by 10.150.239.15 with SMTP id m15mr10424645ybh.336.1261384642114; Mon, 21 Dec 2009 00:37:22 -0800 (PST) Received: from anonymouri38s3 ([61.135.165.177]) by mx.google.com with ESMTPS id 7sm1934027ywf.25.2009.12.21.00.37.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Dec 2009 00:37:21 -0800 (PST) From: To: "'cassandra-user'" Subject: Multiple DataFileDirectorie and disk failure Date: Mon, 21 Dec 2009 16:37:11 +0800 Message-ID: <4b2f33c1.0706c00a.40ad.ffffee31@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0081_01CA825B.DB9E7430" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqCGMnb8ZzfkgJJQ0qnykM4NsqT0A== Content-Language: zh-cn X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_0081_01CA825B.DB9E7430 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable HI=EF=BC=8Cfolks: =20 It=E2=80=99s seems cassandra can use multiple DataFileDirectory: =E2=80=A6.. C:\Data1 C:\Data2 C:\Data3 =E2=80=A6=E2=80=A6 =E2=80=A6.. =20 >From code I found cassandra will create a directory for each table = (keyspace), now I have a node which have 12 disk, and I plan to mount = each disk onto each directory: =20 C:\Data1\key_space1 C:\Data1\key_space2 C:\Data1\key_space3 C:\Data2\key_space1 C:\Data2\key_space2 C:\Data2\key_space3 C:\Data3\key_space1 C:\Data3\key_space2 C:\Data3\key_space3 =20 the questions are: 1. How does SStables of one key-space distribute among multiple = data directory?(what distribute policy?) 2. What fault-tolerant policy does cassandra utilize to against = disk failure? 3. If one disk down, What impact does one key-space have on = reading and writing?(does whole key-space become unavailable?) =20 Thanks very much!! ---------END---------- =20 ------=_NextPart_000_0081_01CA825B.DB9E7430 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

HI=EF=BC=8Cfolks:

 

It=E2=80=99s seems cassandra can = use multiple DataFileDirectory:

=E2=80=A6..

=C2=A0 = <DataFileDirectories>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = <DataFileDirectory>C:\Data1</DataFileDirectory>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = <DataFileDirectory>C:\Data2</DataFileDirectory>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = <DataFileDirectory>C:\Data3</DataFileDirectory>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =E2=80=A6=E2=80=A6

=C2=A0 = </DataFileDirectories>

=E2=80=A6..

 

From code I found cassandra will = create a directory for each table (keyspace), now I have a node which have 12 = disk, and I plan to mount each disk

onto each = directory:

 

C:\Data1\key_space1

C:\Data1\key_space2

C:\Data1\key_space3

C:\Data2\key_space1

C:\Data2\key_space2

C:\Data2\key_space3

C:\Data3\key_space1

C:\Data3\key_space2

C:\Data3\key_space3

 

the questions = are:

1.       How does SStables of = one key-space distribute among multiple data directory?(what distribute = policy?)

2.       What fault-tolerant policy does = cassandra utilize to against disk failure?

3.       If one disk down, What = impact does one key-space have on reading and writing?(does whole key-space = become unavailable?)

 

Thanks very = much!!

---------END----------

 

------=_NextPart_000_0081_01CA825B.DB9E7430--