You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Haley Reeve (Jira)" <ji...@apache.org> on 2020/06/17 16:43:00 UTC

[jira] [Updated] (SOLR-14507) Option to allow location override if solr.hdfs.home isn't set in backup repo

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

Haley Reeve updated SOLR-14507:
-------------------------------
    Summary: Option to allow location override if solr.hdfs.home isn't set in backup repo  (was: Option to pass solr.hdfs.home in API backup/restore calls)

> Option to allow location override if solr.hdfs.home isn't set in backup repo
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-14507
>                 URL: https://issues.apache.org/jira/browse/SOLR-14507
>             Project: Solr
>          Issue Type: Improvement
>          Components: Backup/Restore
>            Reporter: Haley Reeve
>            Priority: Major
>         Attachments: SOLR-14507.patch
>
>
> The Solr backup/restore API has an optional parameter for specifying the directory to backup to. However, the HdfsBackupRepository class doesn't use this location when creating the HDFS Filesystem object. Instead it uses the solr.hdfs.home setting configured in solr.xml. This functionally means that the backup location, which can be passed to the API call dynamically, is limited by the static home directory defined in solr.xml. This requirement means that if the solr.hdfs.home path and backup location don't share the same URI scheme and hostname, the backup will fail, even if the backup could otherwise have been written to the specified location successfully.
> If we had the option to pass the solr.hdfs.home path as part of the API call, it would remove this limitation on the backup location.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org