hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmcc...@apache.org
Subject hadoop git commit: HDFS-10415. TestDistributedFileSystem#MyDistributedFileSystem attempts to set up statistics before initialize() is called (Mingliang Liu via cmccabe)
Date Wed, 01 Jun 2016 00:18:56 GMT
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 <cmccabe@cloudera.com>
Authored: Tue May 31 16:54:52 2016 -0700
Committer: Colin Patrick Mccabe <cmccabe@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message