Skip to content
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

repair(): Too many metrics #193

Closed
iksaif opened this issue Nov 28, 2016 · 0 comments · Fixed by #249
Closed

repair(): Too many metrics #193

iksaif opened this issue Nov 28, 2016 · 0 comments · Fixed by #249
Milestone

Comments

@iksaif
Copy link
Contributor

iksaif commented Nov 28, 2016

Traceback (most recent call last):
  File "/opt/graphite/pypy/bin/bgutil", line 11, in <module>
    load_entry_point('biggraphite==0.5', 'console_scripts', 'bgutil')()
  File "/opt/graphite/pypy/site-packages/biggraphite/cli/bgutil.py", line 74, in main
    opts.func(accessor, opts)
  File "/opt/graphite/pypy/site-packages/biggraphite/cli/command_repair.py", line 76, in run
    end_key=opts.end_key)
  File "/opt/graphite/pypy/site-packages/biggraphite/drivers/cassandra.py", line 1241, in repair
    if parent_dir and self.has_directory(parent_dir):
  File "/opt/graphite/pypy/site-packages/biggraphite/drivers/cassandra.py", line 869, in has_directory
    return list(self.glob_directory_names(directory))
  File "/opt/graphite/pypy/site-packages/biggraphite/drivers/cassandra.py", line 940, in _extract_results
    (self.max_metrics_per_pattern)
TooManyMetrics: Query bla.[9E67CD0952164CFA9CCD0115ADAD49F8%2F7B88566A65814F1DBE27D63DC0518633]%bli%2F\(1%2F1\)%20%2E%2E%2E11-08%2Fhour%3D22%2Fplatform%3DUS.queue.long-jobs on directories yields more than 5000 results

@iksaif iksaif added this to the v0.7.0 milestone Nov 28, 2016
@iksaif iksaif modified the milestones: v0.8.0, v0.7.0 Jan 30, 2017
iksaif pushed a commit to iksaif/biggraphite that referenced this issue Mar 8, 2017
This fixes criteo#193.

We could also had an argument to glob_directories() but I choose to
do a simple select.
iksaif pushed a commit to iksaif/biggraphite that referenced this issue Mar 8, 2017
This fixes criteo#193.

We could also had an argument to glob_directories() but I choose to
do a simple select.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant