You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2016/08/26 13:28:20 UTC

[jira] [Comment Edited] (SOLR-9242) Collection level backup/restore should provide a param for specifying the repository implementation it should use

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

Uwe Schindler edited comment on SOLR-9242 at 8/26/16 1:27 PM:
--------------------------------------------------------------

Hi,

can we fix this please in a correct way? The Stackoverflow issue is IMHO showing incompetence of the typical "Stackoverflow" user. URI.getPath() returns the URI path and never ever a filesystem path. The fix is also incorrect. It also breaks if you have whitespace in your path (on non-windows)!!! This explains now why this test always fails on my system!

To convert an URI to a Path use Paths.get(URI), and not URI.getPath(). 


was (Author: thetaphi):
Hi,

can we fix this please in a correct way? The Stackoverflow issue is IMHO showing incompetence of the typical "Stackoverflow" user. URI.getPath() returns the URI path and never ever a filesystem path. The fix is also incorrect. It also breaks if you have whitespace in your path!!! This explains now why this test always fails on my system!

To convert an URI to a Path use Paths.get(URI), and not URI.getPath(). 

> Collection level backup/restore should provide a param for specifying the repository implementation it should use
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9242
>                 URL: https://issues.apache.org/jira/browse/SOLR-9242
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hrishikesh Gadre
>            Assignee: Varun Thacker
>             Fix For: 6.2, master (7.0)
>
>         Attachments: 7726.log.gz, SOLR-9242.patch, SOLR-9242.patch, SOLR-9242.patch, SOLR-9242.patch, SOLR-9242.patch, SOLR-9242_followup.patch, SOLR-9242_followup2.patch
>
>
> SOLR-7374 provides BackupRepository interface to enable storing Solr index data to a configured file-system (e.g. HDFS, local file-system etc.). This JIRA is to track the work required to extend this functionality at the collection level.



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