hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject hadoop git commit: HDFS-10712. TestDataNodeVolumeFailure should pass not null BlockReportContext. Contributed by Vinitha Gankidi.
Date Tue, 18 Oct 2016 02:10:51 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.7 1fcaba9b1 -> 86f291f05


HDFS-10712. TestDataNodeVolumeFailure should pass not null BlockReportContext. Contributed
by Vinitha Gankidi.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/86f291f0
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/86f291f0
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/86f291f0

Branch: refs/heads/branch-2.7
Commit: 86f291f057d3479d06cbfc1f77ed38d36154fcf9
Parents: 1fcaba9
Author: Vinitha Reddy Gankidi <vigankidi@linkedin.com>
Authored: Mon Oct 17 18:55:26 2016 -0700
Committer: Konstantin V Shvachko <shv@apache.org>
Committed: Mon Oct 17 19:08:52 2016 -0700

----------------------------------------------------------------------
 .../hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/86f291f0/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
index 41e8d7b..c265679 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
@@ -186,7 +186,8 @@ public class TestDataNodeVolumeFailure {
             new StorageBlockReport(dnStorage, blockList);
     }
     
-    cluster.getNameNodeRpc().blockReport(dnR, bpid, reports, null);
+    cluster.getNameNodeRpc().blockReport(dnR, bpid, reports,
+        new BlockReportContext(1, 0, System.nanoTime()));
 
     // verify number of blocks and files...
     verify(filename, filesize);


---------------------------------------------------------------------
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