HDFS-10878. TestDFSClientRetries#testIdempotentAllocateBlockAndClose throws ConcurrentModificationException. Contributed by Rushabh S Shah.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/382307cb Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/382307cb Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/382307cb Branch: refs/heads/HADOOP-12756 Commit: 382307cbdd94107350fe6fad1acf87d63c9be9d6 Parents: ef7f06f Author: Kihwal Lee <[email protected]> Authored: Tue Oct 4 11:09:03 2016 -0500 Committer: Kihwal Lee <[email protected]> Committed: Tue Oct 4 11:09:03 2016 -0500 ---------------------------------------------------------------------- .../test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/382307cb/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java index c7997d7..6db70d5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java @@ -103,7 +103,6 @@ import org.mockito.internal.stubbing.answers.ThrowsException; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; -import com.google.common.base.Joiner; /** * These tests make sure that DFSClient retries fetching data from DFS @@ -485,8 +484,7 @@ public class TestDFSClientRetries { // complete() may return false a few times before it returns // true. We want to wait until it returns true, and then // make it retry one more time after that. - LOG.info("Called complete(: " + - Joiner.on(",").join(invocation.getArguments()) + ")"); + LOG.info("Called complete:"); if (!(Boolean)invocation.callRealMethod()) { LOG.info("Complete call returned false, not faking a retry RPC"); return false; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
