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

[jira] [Updated] (SOLR-9444) Fix path usage for cloud backup/restore

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

Varun Thacker updated SOLR-9444:
--------------------------------
    Attachment: SOLR-9444.patch

Quick patch which uses Paths.get() instead of URI.getPath. 

TestHdfsBackupRestoreCore will fail because with:

{code}

39668 ERROR (OverseerThreadFactory-10-thread-3-processing-n:127.0.0.1:60156_solr) [n:127.0.0.1:60156_solr    ] o.a.s.c.OverseerCollectionMessageHandler Collection: hdfsbackuprestore operation: backup failed:java.nio.file.FileSystemNotFoundException: Provider "hdfs" not installed
	at java.nio.file.Paths.get(Paths.java:147)
	at org.apache.solr.cloud.BackupCmd.call(BackupCmd.java:98)
	at org.apache.solr.cloud.OverseerCollectionMessageHandler.processMessage(OverseerCollectionMessageHandler.java:222)
	at org.apache.solr.cloud.OverseerTaskProcessor$Runner.run(OverseerTaskProcessor.java:463)
	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$26(ExecutorUtil.java:229)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
{code}

I think thats related to https://github.com/damiencarol/jsr203-hadoop



> Fix path usage for cloud backup/restore
> ---------------------------------------
>
>                 Key: SOLR-9444
>                 URL: https://issues.apache.org/jira/browse/SOLR-9444
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>         Attachments: SOLR-9444.patch
>
>
> As noted by Uwe on https://issues.apache.org/jira/browse/SOLR-9242?focusedCommentId=15438925&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15438925 the usage of URI#getPath is wrong. 
> Creating a Jira to track this better. More details to follow



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