Uploaded image for project: 'Helm'
  1. Helm
  2. HELM-273

Drift (ES): Trying to create too many buckets.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Horizon 2021 - Apr 14 - Apr 28

      Description

      It seems that depending on the browser window width the ES drift plugin throws an exception:

       

      Caused by: org.elasticsearch.search.aggregations.MultiBucketConsumerService$TooManyBucketsException: Trying to create too many buckets. Must be less than or equal to: [10000] but was [10001]. This limit can be set by changing the [search.max_buckets] cluster level setting.
      	at org.elasticsearch.search.aggregations.MultiBucketConsumerService$MultiBucketConsumer.accept(MultiBucketConsumerService.java:110) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.search.aggregations.InternalAggregation$ReduceContext.consumeBucketsAndMaybeBreak(InternalAggregation.java:83) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.opennms.elasticsearch.plugin.aggregations.bucket.histogram.InternalProportionalSumHistogram.addEmptyBuckets(InternalProportionalSumHistogram.java:463) ~[?:?]
      	at org.opennms.elasticsearch.plugin.aggregations.bucket.histogram.InternalProportionalSumHistogram.reduce(InternalProportionalSumHistogram.java:490) ~[?:?]
      	at org.elasticsearch.search.aggregations.InternalAggregations.reduce(InternalAggregations.java:168) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.search.aggregations.bucket.terms.InternalTerms.reduceBucket(InternalTerms.java:313) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.search.aggregations.bucket.terms.InternalTerms.reduce(InternalTerms.java:261) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.search.aggregations.InternalAggregations.reduce(InternalAggregations.java:168) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.search.aggregations.InternalAggregations.topLevelReduce(InternalAggregations.java:116) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.action.search.SearchPhaseController.reducedQueryPhase(SearchPhaseController.java:490) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.action.search.SearchPhaseController.reducedQueryPhase(SearchPhaseController.java:404) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.action.search.SearchPhaseController$1.reduce(SearchPhaseController.java:725) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.action.search.FetchSearchPhase.innerRun(FetchSearchPhase.java:102) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.action.search.FetchSearchPhase.access$000(FetchSearchPhase.java:44) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.action.search.FetchSearchPhase$1.doRun(FetchSearchPhase.java:87) ~[elasticsearch-7.6.2.jar:7.6.2]
      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-7.6.2.jar:7.6.2]
      
      

      If the browser width is changed slightly and the flow-deep-dive dashboard is updated the exception may disappear.

      This bug may also be caused by the helm plugin because of its step calculation when series are retrieved.

       

        Attachments

          Activity

            People

            Assignee:
            swachter Stefan Wachter
            Reporter:
            swachter Stefan Wachter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration