You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2012/12/16 04:24:12 UTC

[jira] [Created] (ACCUMULO-908) VFS unit tests fail on Hadoop FS check

Josh Elser created ACCUMULO-908:
-----------------------------------

             Summary: VFS unit tests fail on Hadoop FS check
                 Key: ACCUMULO-908
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-908
             Project: Accumulo
          Issue Type: Bug
          Components: start
    Affects Versions: 1.5.0
         Environment: CentOS 5.7, Maven 3.0.4, Oracle JRE 1.6.0_30
            Reporter: Josh Elser
            Assignee: John Vines
             Fix For: 1.5.0


AccumuloReloadingVFSClassLoaderTest and VfsClassLoaderTest both fail for me on an assertion "Wrong FS: hdfs://localhost:8620/test-dir, expected: hdfs://localhost.localdomain:8620". I would guess that there's something better to specify in these tests to make them work on all platforms?

{noformat}
testReloading(org.apache.accumulo.start.classloader.vfs.AccumuloReloadingVFSClassLoaderTest)  Time elapsed: 0.008 sec  <<< ERROR!
java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:8620/test-dir, expected: hdfs://localhost.localdomain:8620
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:381)
        at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:129)
        at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:321)
        at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1126)
        at org.apache.accumulo.start.classloader.vfs.AccumuloReloadingVFSClassLoaderTest.setup(AccumuloReloadingVFSClassLoaderTest.java:44)
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira