You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by hgadre <gi...@git.apache.org> on 2016/08/03 21:24:39 UTC

[GitHub] lucene-solr pull request #62: [SOLR-9242] Fix unit test failure on Windows p...

GitHub user hgadre opened a pull request:

    https://github.com/apache/lucene-solr/pull/62

    [SOLR-9242] Fix unit test failure on Windows platform.

    The root cause of the failure is the usage of URI::getPath() method in the backup/restore functionality (e.g. in BackupManager::downloadFromZK OR in the OverseerCollectionMessageHandler::processBackupAction methods). On the Windows platform, usage of URI.getPath() returns an invalid path string (e.g.  URI file:///C:/lucene-solr/solr
    returns /C:/lucene-solr/solr as the result of getPath() method).
    
    Refer to following discussion for more details,
    http://stackoverflow.com/questions/9834776/java-nio-file-path-issue
    
    Since the caller may have used this method to generate the string representation for the pathComponents, we implement a work-around specifically for Windows platform to remove the leading '/' character.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hgadre/lucene-solr SOLR-9242_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/62.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #62
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr issue #62: [SOLR-9242] Fix unit test failure on Windows platform...

Posted by hgadre <gi...@git.apache.org>.
Github user hgadre commented on the issue:

    https://github.com/apache/lucene-solr/pull/62
  
    @vthacker could you please take a look?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request #62: [SOLR-9242] Fix unit test failure on Windows p...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/lucene-solr/pull/62


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request: efbytesref of 20140717, move Elias-Fano ...

Posted by PaulElschot <gi...@git.apache.org>.
Github user PaulElschot commented on the pull request:

    https://github.com/apache/lucene-solr/pull/62#issuecomment-105225222
  
    See LUCENE-5524 and LUCENE-5627


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request: efbytesref of 20140717, move Elias-Fano ...

Posted by PaulElschot <gi...@git.apache.org>.
Github user PaulElschot closed the pull request at:

    https://github.com/apache/lucene-solr/pull/62


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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