Fix murmur3 import, better murmur3 failure handling

This commit is contained in:
Tyler Hobbs
2013-07-03 15:14:48 -05:00
parent 892218ab8f
commit 1cacda81d4
2 changed files with 31 additions and 6 deletions

View File

@@ -1,8 +1,11 @@
from itertools import islice, cycle, groupby, repeat
import logging
from random import randint
from cassandra import ConsistencyLevel
log = logging.getLogger(__name__)
class HostDistance(object):
"""
A measure of how "distant" a node is from the client, which