Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.4.4
-
None
Description
Running Security randomwalk under HDFS HA, if the active namenode is killed:
20 13:55:58,287 [retry.RetryInvocationHandler] WARN : Exception while invoking class org.apache.hado op.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.create. Not retrying because the invoked metho d is not idempotent, and unable to determine whether it was invoked java.io.IOException: Failed on local exception: java.io.IOException: Response is null.; Host Details : local host is: "slave.domain.com/10.20.200.113"; destination host is: "namenode.domain.com":8020; ... at org.apache.accumulo.core.file.rfile.RFileOperations.openWriter(RFileOperations.java:124) at org.apache.accumulo.core.file.DispatchingFileFactory.openWriter(FileOperations.java:80) at org.apache.accumulo.server.test.randomwalk.security.TableOp.visit(TableOp.java:177) at org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:251) ... Caused by: java.io.IOException: Response is null. at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:952) at org.apache.hadoop.ipc.Client$Connection.run(Client.java:847)
This arises from an attempt to write an rfile.The test should be resilient here (and for other file system operations) so that the test can continue once failover has completed.