cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3043) SSTableImportTest fails on Windows because of malformed file path
Date Wed, 17 Aug 2011 02:33:27 GMT

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

Jonathan Ellis updated CASSANDRA-3043:
--------------------------------------

    Attachment: 3043-v2.txt

v2 moves the logic to a method and adds comments.  Does that look good to you?

> SSTableImportTest fails on Windows because of malformed file path
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-3043
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3043
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>         Environment: Windows
>            Reporter: Vladimir Loncar
>            Assignee: Vladimir Loncar
>            Priority: Trivial
>              Labels: windows
>         Attachments: 3043-v2.txt, windows-sstable-import-fix.patch
>
>
> SSTableImportTest uses URL.getPath() to create path to JSON files. This fails on Windows
in many cases (for example if there are spaces in path which get encoded as %20 which Windows
doesn't like). Trick is to create URI from URL which satisfies all platforms.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message