[
https://issues.apache.org/jira/browse/SOLR-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672818#comment-13672818
]
Shawn Heisey commented on SOLR-4890:
------------------------------------
Previous Solr versions would silently ignore lib directories that didn't exist,
and the ignored entry at the time had an expletive in it. With the newest
version, it issues a warning. The line is purposely not commented, and the
reason is encoded right in it's name - it doesn't exist, which gives you a
warning. The log entry is at the WARN level, it's not an error.
It could be argued that this should not be uncommented in the config, but it is
not an error and doesn't prevent startup, it's there to illustrate what happens
with a non-fatal misconfiguration.
> Can't find (or read) directory to add to classloader:
> /non/existent/dir/yields/warning (resolved as:
> /non/existent/dir/yields/warning).
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-4890
> URL: https://issues.apache.org/jira/browse/SOLR-4890
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools, web gui
> Affects Versions: 4.3
> Environment: Linux (CentOS 6.2)
> Reporter: Aaron Greenspan
> Priority: Minor
> Labels: Confusing
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I just did a fresh install of Solr 4.3.0 twice. Both times, the default build
> yielded this in Logging:
> Can't find (or read) directory to add to classloader:
> /non/existent/dir/yields/warning (resolved as:
> /non/existent/dir/yields/warning).
> This appears to come from line 87 in solrconfig.xml for collection1, which I
> think is supposed to be commented out. Or maybe it has some other purpose.
> Either way, the comments in that file, at least regarding this line, are
> totally unhelpful.
--
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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]