accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4393) Using MiniAccumuloCluster on Windows, TableOperations.importTable() fails
Date Sat, 30 Jul 2016 17:30:20 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15400754#comment-15400754
] 

Christopher Tubbs commented on ACCUMULO-4393:
---------------------------------------------

Related to HADOOP-3257

> 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)

Mime
View raw message