[
https://issues.apache.org/jira/browse/SOLR-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Thacker updated SOLR-6985:
--------------------------------
Attachment: SOLR-6985.patch
Simple patch where you can configure a directory factory to specify if the
underlying FS is shared. HDFSDirectoryFactory remains hardcoded to true.
Sample configuration -
{code}
<directoryFactory name="DirectoryFactory"
class="${solr.directoryFactory:solr.NIOFSDIrectoryFactory}">
<bool name="isSharedStorage">true</bool>
</directoryFactory>
{code}
> AutoAddReplicas should support any directory factory backed by a shared
> filesystem
> ----------------------------------------------------------------------------------
>
> Key: SOLR-6985
> URL: https://issues.apache.org/jira/browse/SOLR-6985
> Project: Solr
> Issue Type: Improvement
> Reporter: Varun Thacker
> Priority: Minor
> Attachments: SOLR-6985.patch
>
>
> Currently one can only use AutoAddReplicas with HdfsDirectoryFactory.
> I should also be able to use any directory factory as long as my underlying
> filesystem is shared. I could be using MMapDirectory factory and have an
> underlying NFS shared Filesystem.
> We should make the 'isSharedStorage' param configurable in solrconfig. This
> should be set to true by the user if their underlying FS is shared. Currently
> 'isSharedStorage' is hardcoded to true for HDFSDir.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]