You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/04/06 20:54:25 UTC

[jira] [Commented] (SOLR-7374) Backup/Restore should provide a param for specifying the directory implementation it should use

    [ https://issues.apache.org/jira/browse/SOLR-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228886#comment-15228886 ] 

David Smiley commented on SOLR-7374:
------------------------------------

+1 to a specifying protocol/impl as a prefix.  Presumably there would need to then be a way to register them and look them up.

> Backup/Restore should provide a param for specifying the directory implementation it should use
> -----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7374
>                 URL: https://issues.apache.org/jira/browse/SOLR-7374
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>             Fix For: 5.2, master
>
>
> Currently when we create a backup we use SimpleFSDirectory to write the backup indexes. Similarly during a restore we open the index using FSDirectory.open . 
> We should provide a param called {{directoryImpl}} or {{type}} which will be used to specify the Directory implementation to backup the index. 
> Likewise during a restore you would need to specify the directory impl which was used during backup so that the index can be opened correctly.
> This param will address the problem that currently if a user is running Solr on HDFS there is no way to use the backup/restore functionality as the directory is hardcoded.
> With this one could be running Solr on a local FS but backup the index on HDFS etc.



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