-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
piping carbon-list to carbon-sieve produces nothing #114
Comments
Today I created a python environment with the right python module versions. I have carbon 1.1.6 and carbonate 1.1.6. However, the results I'm getting are different from what carbon c relay is doing. The algorithm is fnv1a_ch in both cases. The same replication factor is used as well. Basically, I just want to confirm that the hashing that carbon-c-relay and carbonate tools do match. Any ideas? |
Well, it's quite hard to predict a future. You probably used old
I implemented tests to test |
So, carbon-c-relay has:
carbonate.conf:
Running For example:
prints 1 and 2, whereas in reality the metric is on 2 and 3. I sanitized the hostnames so you may not get the same results. P.S.: carbon-c-relay version is 2.6 |
I think it's a issue similar to jjneely/buckytools#11 |
Are you saying the carbon-c-relay config is invalid? Can i hack carbonate to use |
Well. Whole idea behind
Sure, feel free to do so. Ofc I'll accept PR for command line option to fix this, just make this optional and do not change default behavior. |
Ok, I think carbon-c-relay has special syntax to guard against hostname changes? The Anyway, I think it makes sense to make that change. But I thought this behavior is not under carbonate's control since you're using the hashing library from python-carbon? |
Yes, you'll need to use
should looks like thos in carbon-c-relay
Exactly. So, I'm afraid, cli option will be hard. You can try ta make quick hack in carbon hashing, just for your usecase, though. |
Cool. think I will add the instances and rebalance. Unrelated issue: when running carbon-sync to sync data from an old cluster, I occasionally get an error like this:
... where SOME_PATH is the actual path to the metric on disk and TMP is where rsync is looking for the downloaded whisper file. Have you seen that message before? |
I found the reason: I'm overloading the sshd on the target system with my parallel rsyncs :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
When I pipe carbon-list to carbon-sieve on the same carbon cache host, I'm expecting to see all the metrics that are piped to sieve, but I see nothing. What could be the reason? The config contains all the members of the cluster correctly.
Thanks,
Sergei
edit:
Oh, I see:
edit2:
my carbonate is hopelessly old (Build Date : Wed 08 Jul 2015 02:16:26 PM UTC).
I have 0.9.16 and I'm using fnv1a_ch. Shouldn't I get an error to the effect that my hashing algorithm is not recognized?
The text was updated successfully, but these errors were encountered: