lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <>
Subject [jira] [Commented] (SOLR-4136) SolrCloud bugs when servlet context contains "/" or "_"
Date Thu, 20 Dec 2012 23:53:12 GMT


Commit Tag Bot commented on SOLR-4136:

[branch_4x commit] Chris M. Hostetter

SOLR-4136: followup: fix getBaseUrlForNodeName to never including trailing slash when using
the root context, and harden generateNodeName to not trust the caller as far as leading/trailing
slashes (merge r1424755)

> SolrCloud bugs when servlet context contains "/" or "_"
> -------------------------------------------------------
>                 Key: SOLR-4136
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.1, 5.0
>         Attachments: SOLR-4136.patch, SOLR-4136.patch, SOLR-4136.patch, SOLR-4136.patch,
> 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")

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message