You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/10/01 18:44:26 UTC

[jira] [Commented] (ACCUMULO-4015) ExistingMacIT fails with -Dhadoop.profile=1

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

Christopher Tubbs commented on ACCUMULO-4015:
---------------------------------------------

Adding the following line to {{createEmptyConfig(File)}} fixes the problem, but I'm not certain why:

{code:java}
    conf.set("fs.file.impl", RawLocalFileSystem.class.getName());
{code}

> ExistingMacIT fails with -Dhadoop.profile=1
> -------------------------------------------
>
>                 Key: ACCUMULO-4015
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4015
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.6.4
>            Reporter: Christopher Tubbs
>            Priority: Minor
>             Fix For: 1.6.5
>
>
> This only affects 1.6.x, since we dropped support for Hadoop 1 in 1.7.0.
> ExistingMacIT fails with the following stack trace:
> {code:java}
> Running org.apache.accumulo.test.ExistingMacIT
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.305 sec <<< FAILURE! - in org.apache.accumulo.test.ExistingMacIT
> testExistingInstance(org.apache.accumulo.test.ExistingMacIT)  Time elapsed: 19.494 sec  <<< ERROR!
> java.lang.RuntimeException: java.io.IOException: No FileSystem for scheme: file
> 	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1443)
> 	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
> 	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1464)
> 	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:263)
> 	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
> 	at org.apache.accumulo.core.volume.VolumeImpl.<init>(VolumeImpl.java:42)
> 	at org.apache.accumulo.core.volume.VolumeConfiguration.create(VolumeConfiguration.java:159)
> 	at org.apache.accumulo.server.fs.VolumeManagerImpl.get(VolumeManagerImpl.java:420)
> 	at org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl.start(MiniAccumuloClusterImpl.java:489)
> 	at org.apache.accumulo.test.ExistingMacIT.testExistingInstance(ExistingMacIT.java:117)
> {code}



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