[chord] filestore does not work

Tung Thanh Nguyen dx1908 at wayne.edu
Mon Mar 3 23:20:00 EST 2008


Hi,
Thank you for your reply.
I start Chord at each node with the same "--root dhash-a" but on each machine. In particular, I run the following on each of 4 nodes
lsd/start-dhash --root dhash-a -j rxale-16:6060 -p 6060 -v 4 &

The result for the grep of the first 3 nodes are the same as following:
1204596878.742367 dhblock_chash: db write: 5960c43780530f10d3d892ee5a6439a150788ad0 N 5748675e910aa31e2f261fe10e574e9135566ddd 14 d1b5b8221caccc630fdbdb12341235f4fb3f62c8

while the last one is:
1204600718.561139 dhblock_chash: db write: 7c628f8b0cf862dd58d4d414b470ce5194e08
a66 N 5748675e910aa31e2f261fe10e574e9135566ddd 14 d1b5b8221caccc630fdbdb12341235
f4fb3f62c8
1204600718.724772 dhashcli: store 5748675e910aa31e2f261fe10e574e9135566ddd (frag
 2/14) -> 75cef60ee5fc1c43521a3ab9f111b4d9d3c8ceb6 in 209ms: DHASH_OK
1204600718.789046 dhashcli: store 5748675e910aa31e2f261fe10e574e9135566ddd (frag
 3/14) -> 7c628f8b0cf862dd58d4d414b470ce5194e08a66 in 273ms: DHASH_OK
1204600718.799058 dhashcli: store 5748675e910aa31e2f261fe10e574e9135566ddd (frag
 1/14) -> 5960c43780530f10d3d892ee5a6439a150788ad0 in 283ms: DHASH_OK
1204600719.185360 dhashcli: store 5748675e910aa31e2f261fe10e574e9135566ddd (frag
 4/14) -> a1f9d12fe4bfd662cc80167dc75576e96bc08cc9 in 669ms: DHASH_OK
1204600719.185424 dhashcli: 7c628f8b0cf862dd58d4d414b470ce5194e08a66: store (574
8675e910aa31e2f261fe10e574e9135566ddd): only stored 4 of 14 encoded.
1204600719.185447 dhashcli: 7c628f8b0cf862dd58d4d414b470ce5194e08a66: store (574
8675e910aa31e2f261fe10e574e9135566ddd): failed; insufficient frags/blocks stored
.
Thanks
TUNG
---- Original message ----
>Date: Mon, 3 Mar 2008 23:05:14 -0500
>From: Emil Sit <sit at MIT.EDU>  
>Subject: Re: [chord] filestore does not work  
>To: Tung Thanh Nguyen <dx1908 at wayne.edu>
>Cc: chord <chord at amsterdam.lcs.mit.edu>
>
>On Mon, 03 March 2008 at 22:35 (-0500), Tung Thanh Nguyen wrote:
>> I successfully built and started the Chord on 4 nodes (each node has 4 vnodes). When I tried to use filestore to store a file into Chord, it said:
>
>How are you starting the dhash processes?
>
>Make sure each dhash invocation has a separate --root (or are
>on separate machines).
>
>Can you grep for 5748675e910aa31e2f261fe10e574e9135566ddd across
>all your log.lsd and log.adbd files (since you should have 4)?
>
>-- 
>Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list