You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2014/11/15 16:53:34 UTC
[jira] [Updated] (SOLR-6649) Remove all use of loader.getConfigDir
in SolrCloud mode
[ https://issues.apache.org/jira/browse/SOLR-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Hatcher updated SOLR-6649:
-------------------------------
Description:
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 {{CloudUtil#unifiedResourcePath(loader)}} instead, introduced in SOLR-6647.
was:
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.
> 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
> Assignee: Jan Høydahl
> Labels: logging
> Fix For: 4.10.3, 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 {{CloudUtil#unifiedResourcePath(loader)}} instead, introduced in SOLR-6647.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org