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

Port-base rule for shard placement causes NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.2
    • 5.3
    • None
    • None

    Description

      I was setting up some rule-based collections, and I hit an NPE whenever I try to include a port-based rule. It looks like the implementation was started, but not completed for ports. Patch coming in just a moment.

      I included a test, and I have no problems getting the test to pass when run by itself. However, when I run it w/ the other tests in RulesTest, it fails because of some ZK errors, but I often have those issues when running any of the distrib tests.

      Attachments

        1. SOLR-7668.patch
          5 kB
          Adam McElwee
        2. SOLR-7668.patch
          7 kB
          Adam McElwee

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              amcelwee Adam McElwee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: