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

SolrCloud bugs when servlet context contains "/" or "_"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      SolrCloud does not work properly with non-trivial values for "hostContext" (ie: the servlet context path). In particular...

      • Using a hostContext containing a "/" (ie: a servlet context with a subdir path, semi-common among people who organize webapps hierarchically for lod blanacer rules) is explicitly forbidden in ZkController because of how the hostContext is used to build a ZK nodeName
      • Using a hostContext containing a "_" causes problems in OverseerCollectionProcessor where it assumes all "_" characters should be converted to "/" to reconstitute a URL from nodeName (NOTE: this code specifically has a TODO to fix this, and then has a subsequent TODO about assuming "http://" labeled "this sucks")

        Attachments

        1. SOLR-4136.patch
          19 kB
          Hoss Man
        2. SOLR-4136.patch
          18 kB
          Hoss Man
        3. SOLR-4136.patch
          18 kB
          Hoss Man
        4. SOLR-4136.patch
          18 kB
          Hoss Man
        5. SOLR-4136.patch
          7 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: