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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1, 6.0
    • SolrCloud
    • 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
          Chris M. Hostetter
        2. SOLR-4136.patch
          18 kB
          Chris M. Hostetter
        3. SOLR-4136.patch
          18 kB
          Chris M. Hostetter
        4. SOLR-4136.patch
          18 kB
          Chris M. Hostetter
        5. SOLR-4136.patch
          7 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: