You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "David Lawless (JIRA)" <ji...@apache.org> on 2016/07/29 12:39:20 UTC

[jira] [Created] (ACCUMULO-4393) Using MiniAccumuloCluster on Windows, TableOperations.importTable() fails

David Lawless created ACCUMULO-4393:
---------------------------------------

             Summary: Using MiniAccumuloCluster on Windows, TableOperations.importTable() fails
                 Key: ACCUMULO-4393
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4393
             Project: Accumulo
          Issue Type: Bug
          Components: master
         Environment: Windows
            Reporter: David Lawless
            Priority: Minor


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





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)