Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7954

ArrayIndexOutOfBoundsException from distributed HLL serialization logic when using using stats.field={!cardinality=1.0} in a distributed query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      SolrCloud 4 node cluster.
      Ubuntu 12.04
      OS Type 64 bit

      Description

      User reports indicate that using stats.field={!cardinality=1.0}foo on a field that has extremely high cardinality on a single shard (example: 150K unique values) can lead to "ArrayIndexOutOfBoundsException: 3" on the shard during serialization of the HLL values.

      using "cardinality=0.9" (or lower) doesn't produce the same symptoms, suggesting the problem is specific to large log2m and regwidth values.

        Attachments

        1. SOLR-7954.patch
          2 kB
          Hoss Man
        2. SOLR-7954.patch
          4 kB
          Hoss Man
        3. SOLR-7954.patch
          12 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                modassar Modassar Ather
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: