Keith Turner created ACCUMULO-2095:
--------------------------------------
Summary: Shard randomwalk test fails w/ multiple namnodes
Key: ACCUMULO-2095
URL: https://issues.apache.org/jira/browse/ACCUMULO-2095
Project: Accumulo
Issue Type: Bug
Reporter: Keith Turner
Fix For: 1.6.0
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.
{noformat}
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)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)