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

Port-base rule for shard placement causes NPE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      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
          7 kB
          Adam McElwee
        2. SOLR-7668.patch
          5 kB
          Adam McElwee

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: