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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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
          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

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment