New question #661993 on Graphite:
https://answers.launchpad.net/graphite/+question/661993
Hi
When using the following in local_settings.py I see a lot of exceptions in the
exceptions.log web log:
CARBONLINK_HASHING_TYPE = 'fnv1a_ch'
File "/opt/vgt/graphite/webapp/graphite/readers.py", line 204, in fetch
cached_datapoints = CarbonLink.query(self.real_metric_path)
File "/opt/vgt/graphite/webapp/graphite/carbonlink.py", line 90, in query
results = self.send_request(request)
File "/opt/vgt/graphite/webapp/graphite/carbonlink.py", line 121, in
send_request
host = self.select_host(metric)
File "/opt/vgt/graphite/webapp/graphite/carbonlink.py", line 49, in
select_host
for node in self.hash_ring.get_nodes(key):
File "/opt/vgt/graphite/webapp/graphite/render/hashing.py", line 112, in
get_nodes
position = self.compute_ring_position(key)
File "/opt/vgt/graphite/webapp/graphite/render/hashing.py", line 77, in
compute_ring_position
small_hash = int(big_hash[:4], 16) ^ int(big_hash[4:], 16)
After commenting out CARBONLINK_HASHING_TYPE = 'fnv1a_ch' the errors
disappeared.
Here is my complete configuration:
CARBONLINK_HOSTS = ["127.0.0.1:7102:w1", "127.0.0.1:7103:w2",
"127.0.0.1:7104:w3", "127.0.0.1:7105:w4", "127.0.0.1:7106:w5",
"127.0.0.1:7107:w6"]
CARBONLINK_QUERY_BULK = True
CARBONLINK_HASHING_TYPE = 'fnv1a_ch'
Do I have a misconfiguration somewhere you think?
I am on version 1.0.2.
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.
_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp