Jan Høydahl created SOLR-6649:
---------------------------------

             Summary: Remove all use of loader.getConfigDir in SolrCloud mode
                 Key: SOLR-6649
                 URL: https://issues.apache.org/jira/browse/SOLR-6649
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.10.1
            Reporter: Jan Høydahl
             Fix For: 4.10.2, 5.0, Trunk


We have had several cases where getConfigDir() is called in Cloud/ZK mode 
causing exception, by components/features that were not yet 100% cloud-aware.

We should inspect the whole code base and avoid calling getConfigDir. Places 
where we want the full path of a resource for logging, we can simply use the 
new static method {{ClouldUtil#unifiedResourcePath(loader)}} instead, 
introduced in SOLR-6647.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to