Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4393

Using MiniAccumuloCluster on Windows, TableOperations.importTable() fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None
    • Environment:

      Windows

      Description

      Using Accumulo v1.6.2 on Windows, and running the MiniAccumuloCluster (MAC), TableOperations.importTable() fails. We get an exception in the master process, because the master is trying to form a URI from a Windows filename and gets an exception due to backslashes in the Windows filename. (Note this happens even if the backslashes are converted to forward slashes in the arguments to importTable().) Partial stack trace from master process:

      java.lang.IllegalArgumentException: Illegal character in path at index 10: file:///C:\Users\da23150\AppData\Local\Temp\miniAcc\mac\accumulo/tables
      at java.net.URI.create(URI.java:859)
      at org.apache.accumulo.server.fs.VolumeManagerImpl.matchingFileSystem
      (VolumeManagerImpl.java:500)
      at org.apache.accumulo.master.tableOps.CreateImportDir.call(ImportTable.java:437)
      at org.apache.accumulo.master.tableOps.CreateImportDir.call(ImportTable.java:418)
      at org.apache.accumulo.master.tableOps.TraceRepo.call(TraceRepo.java:54)
      at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:67)
      at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:34)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.net.URISyntaxException: Illegal character in path at index 10: file:///C:\Users\da23150\AppData\Local\Temp\miniAcc\mac\accumulo/tables
      at java.net.URI$Parser.fail(URI.java:2829)
      at java.net.URI$Parser.checkChars(URI.java:3002)
      at java.net.URI$Parser.parseHierarchical(URI.java:3086)
      at java.net.URI$Parser.parse(URI.java:3034)
      at java.net.URI.<init>(URI.java:595)
      at java.net.URI.create(URI.java:857)
      ... 7 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dlmitll David Lawless
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: