Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3043

SSTableImportTest fails on Windows because of malformed file path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.5
    • Legacy/Testing
    • Windows

    • Low

    Description

      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.

      Attachments

        1. windows-sstable-import-fix.patch
          5 kB
          Vladimir Loncar
        2. 3043-v2.txt
          4 kB
          Jonathan Ellis

        Activity

          People

            vloncar Vladimir Loncar
            vloncar Vladimir Loncar
            Vladimir Loncar
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: