You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Norgorn <ls...@mail.ru> on 2016/02/05 07:19:24 UTC
Solr 5: not loading shards from symlinked directories
I've tried to upgrade from Solr 4.10.3 to 5.4.1. Solr shards are placed on
different disks and symlinks (ln -s) are created to SOLR_HOME (SOLR_HOME
itself is set as an absolute path and works fine).
When Solr starts, it loads only shards placed in home directory, but not
symlinked ones.
If I copy shard to home directory (in file system path remains unchanged,
like SOLR_HOME/my_shard1, both symlinked and copied), it works.
Are there any ways to overcome this issue?
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-5-not-loading-shards-from-symlinked-directories-tp4255403.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 5: not loading shards from symlinked directories
Posted by Norgorn <ls...@mail.ru>.
Thank you
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-5-not-loading-shards-from-symlinked-directories-tp4255403p4255431.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 5: not loading shards from symlinked directories
Posted by Alan Woodward <al...@flax.co.uk>.
This is a known bug, see https://issues.apache.org/jira/browse/SOLR-8548. It will be fixed in 5.5, or in 5.4.2 if we do another bugfix release.
Alan Woodward
www.flax.co.uk
On 5 Feb 2016, at 06:19, Norgorn wrote:
> I've tried to upgrade from Solr 4.10.3 to 5.4.1. Solr shards are placed on
> different disks and symlinks (ln -s) are created to SOLR_HOME (SOLR_HOME
> itself is set as an absolute path and works fine).
> When Solr starts, it loads only shards placed in home directory, but not
> symlinked ones.
> If I copy shard to home directory (in file system path remains unchanged,
> like SOLR_HOME/my_shard1, both symlinked and copied), it works.
>
> Are there any ways to overcome this issue?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Solr-5-not-loading-shards-from-symlinked-directories-tp4255403.html
> Sent from the Solr - User mailing list archive at Nabble.com.