HI,

i am using explicit shading by creating custom shard key for my application
using hbase util mumurhash (added snippet below).

int hash = MurmurHash.getInstance().hash(sharekey.getBytes());
hash = Math.abs(hash);
int routingValue = hash % shards;

I noticed only 5 out of 8 shards used and 3 shards are empty.

Please let me know if you see any issues or suggest any new shard key
generation mechanism.

Thanks.

Regards,
Anil

Reply via email to