incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sky Zhao <sky.z...@ericsson.com>
Subject RE: About Data send to Nodes
Date Wed, 17 Jul 2013 07:01:50 GMT
Hi Matthieu,

Can you give concrete example to do this,

I tried A,B use same key, C,D also does, but result still A,C in NODE1, B,D in NODE2,

I think the zk has average assignment follow the sequence orders, how to change this, thanks
first.

From: Matthieu Morel [mailto:mmorel@apache.org]
Sent: Friday, July 12, 2013 10:17 PM
To: s4-user@incubator.apache.org
Subject: Re: About Data send to Nodes


On Jul 12, 2013, at 06:17 , Sky Zhao <sky.zhao@ericsson.com<mailto:sky.zhao@ericsson.com>>
wrote:


e.g.
If having data sequence A,B,C,D,
And two Nodes, node1, node2,
Can we specify the AB sent to Node1, CD sent to Node2,
Is there any way to handle specified data.


One way would be to use the same key for A,B and C,D, and use a custom hashing function that
guarantees those 2 keys are hashed to 2 different nodes.

Matthieu




/Sky



Mime
View raw message