From 29d6cadc52e411990c8237fd2fa71257cea60d9a Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Tue, 31 May 2016 16:54:52 -0700 Subject: [PATCH] HDFS-10415. TestDistributedFileSystem#MyDistributedFileSystem attempts to set up statistics before initialize() is called (Mingliang Liu via cmccabe) --- .../java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java index ac960c7e16..a82e9dceba 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java @@ -359,7 +359,6 @@ public class TestDistributedFileSystem { private static class MyDistributedFileSystem extends DistributedFileSystem { MyDistributedFileSystem() { - statistics = new FileSystem.Statistics("myhdfs"); // can't mock finals dfs = mock(DFSClient.class); } @Override