Repository: hadoop Updated Branches: refs/heads/trunk 83f2f78c1 -> 29d6cadc5
HDFS-10415. TestDistributedFileSystem#MyDistributedFileSystem attempts to set up statistics before initialize() is called (Mingliang Liu via cmccabe) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/29d6cadc Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/29d6cadc Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/29d6cadc Branch: refs/heads/trunk Commit: 29d6cadc52e411990c8237fd2fa71257cea60d9a Parents: 83f2f78 Author: Colin Patrick Mccabe <cmcc...@cloudera.com> Authored: Tue May 31 16:54:52 2016 -0700 Committer: Colin Patrick Mccabe <cmcc...@cloudera.com> Committed: Tue May 31 16:54:52 2016 -0700 ---------------------------------------------------------------------- .../test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/29d6cadc/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java ---------------------------------------------------------------------- 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 ac960c7..a82e9dc 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 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org