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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.1
    • 5.4, 6.0
    • None
    • None
    • 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
          12 kB
          Chris M. Hostetter
        2. SOLR-7954.patch
          4 kB
          Chris M. Hostetter
        3. SOLR-7954.patch
          2 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              modassar Modassar Ather
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: