Re: Figuring out which node a key belongs to

2011-09-19 Thread Jonathan Ellis
Look at nodetool getendpoints. On Mon, Sep 19, 2011 at 11:10 AM, Tharindu Mathew wrote: > Hi, > > I'd like to do $subject. Is there a way to do this? > > I feel this should be possible by hashing the key and comparing the token of > each node. But I don't know the internals enough to know exactl

Figuring out which node a key belongs to

2011-09-19 Thread Tharindu Mathew
Hi, I'd like to do $subject. Is there a way to do this? I feel this should be possible by hashing the key and comparing the token of each node. But I don't know the internals enough to know exactly? This is to tell hadoop to fetch a record from a specific node. I'm customizing the CFIF. Rega