Changed MurmurHash algo, to the one developed in http://github.com/tdunning/MAHOUT-228

This commit is contained in:
Jonathan Leibiusky
2010-09-15 15:06:12 -03:00
parent 59f7063b2c
commit edcf7412ff
3 changed files with 166 additions and 50 deletions

View File

@@ -64,7 +64,7 @@ public class ShardedJedisTest extends Assert {
si = new ShardInfo(redis2.host, redis2.port);
si.setPassword("foobared");
shards.add(si);
ShardedJedis jedis = new ShardedJedis(shards, Hashing.MURMURE_HASH);
ShardedJedis jedis = new ShardedJedis(shards, Hashing.MURMUR_HASH);
jedis.set("a", "bar");
ShardInfo s1 = jedis.getShardInfo("a");
jedis.set("b", "bar1");