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

Shard randomwalk test fails w/ multiple namenodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • None
    • test
    • None
    • db746960fbcafb1651c15ec2e5493d56acb5065c

    Description

      Was running random walk w/ two namenodes configured for Accumulo and saw the following error. I think this is just a bug in the test code not handling multiple namenodes.

      java.lang.Exception: Error running node Shard.xml
              at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:285)
              at org.apache.accumulo.test.randomwalk.Framework.run(Framework.java:65)
              at org.apache.accumulo.test.randomwalk.Framework.main(Framework.java:125)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.accumulo.start.Main$1.run(Main.java:137)
              at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.Exception: Error running node shard.ExportIndex
              at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:285)
              at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:254)
              ... 8 more
      Caused by: java.lang.IllegalArgumentException: Wrong FS: hdfs://ip-10-1-3-11:9000/accumulo/tables/1l/t-00009xq/F0000867.rf, expected: hdfs://ip-10-1-3-10:9000
              at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:642)
              at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:181)
              at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:92)
              at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1106)
              at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1102)
              at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
              at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1102)
              at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
              at org.apache.accumulo.test.randomwalk.shard.ExportIndex.visit(ExportIndex.java:74)
              at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:254)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kturner Keith Turner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: