lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron LaBella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8548) CorePropertiesLocator does NOT follow symlinks anymore
Date Thu, 14 Jan 2016 15:30:39 GMT

     [ https://issues.apache.org/jira/browse/SOLR-8548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron LaBella updated SOLR-8548:
--------------------------------
    Description: 
Looks like CorePropertiesLocator was switched over to use the new java.nio stuff... and the
simplified version of the walkFileTree method does NOT follow symlinks by default.  This is
a critical feature that needs to be supported for anyone who has their solr core(s) defined
elsewhere, and set up their solr home directory to point to those cores via symlinks.  It's
important to realize that this is the behavior that has always existed pre-5.4.0 by the nature
of using the java.io package to listFiles.

I'm attaching a PATCH with the appropriate fix.

  was:
Looks like CorePropertiesLocator was switched over to use the new java.nio stuff... and the
simplified version of the walkFileTree method does NOT follow symlinks by default.  This is
a critical feature that needs to be supported for anyone who has their solr core defined elsewhere,
and set up their solr home directory to point to those cores via symlinks.  It's important
to realize that this is the behavior that as always existed pre-5.4.0 by the nature of using
the java.io package to listFiles.

I'm attaching a PATCH with the appropriate fix.


> CorePropertiesLocator does NOT follow symlinks anymore
> ------------------------------------------------------
>
>                 Key: SOLR-8548
>                 URL: https://issues.apache.org/jira/browse/SOLR-8548
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.4
>            Reporter: Aaron LaBella
>            Priority: Blocker
>         Attachments: SOLR-8548.patch
>
>
> Looks like CorePropertiesLocator was switched over to use the new java.nio stuff... and
the simplified version of the walkFileTree method does NOT follow symlinks by default.  This
is a critical feature that needs to be supported for anyone who has their solr core(s) defined
elsewhere, and set up their solr home directory to point to those cores via symlinks.  It's
important to realize that this is the behavior that has always existed pre-5.4.0 by the nature
of using the java.io package to listFiles.
> I'm attaching a PATCH with the appropriate fix.



--
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


Mime
View raw message