This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 89e78a76a0c3 HDFS-17259. Fix typo in TestFsDatasetImpl Class. (#6278). 
Contributed by huangzhaobo99.
89e78a76a0c3 is described below

commit 89e78a76a0c3d50b5dd46350392bfeef638b72d4
Author: huangzhaobo <huangzhaob...@126.com>
AuthorDate: Fri Dec 1 13:16:31 2023 +0800

    HDFS-17259. Fix typo in TestFsDatasetImpl Class. (#6278). Contributed by 
huangzhaobo99.
---
 .../hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
index d49198b53dd5..2f068a6a69c6 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
@@ -1713,9 +1713,9 @@ public class TestFsDatasetImpl {
   @Test
   public void testNotifyNamenodeMissingOrNewBlock() throws Exception {
     long blockSize = 1024;
-    int heatbeatInterval = 1;
+    int heartbeatInterval = 1;
     HdfsConfiguration c = new HdfsConfiguration();
-    c.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, heatbeatInterval);
+    c.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, heartbeatInterval);
     c.setLong(DFS_BLOCK_SIZE_KEY, blockSize);
     MiniDFSCluster cluster = new MiniDFSCluster.Builder(c).
         numDataNodes(1).build();
@@ -1964,9 +1964,9 @@ public class TestFsDatasetImpl {
   @Test
   public void tesInvalidateMissingBlock() throws Exception {
     long blockSize = 1024;
-    int heatbeatInterval = 1;
+    int heartbeatInterval = 1;
     HdfsConfiguration c = new HdfsConfiguration();
-    c.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, heatbeatInterval);
+    c.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, heartbeatInterval);
     c.setLong(DFS_BLOCK_SIZE_KEY, blockSize);
     MiniDFSCluster cluster = new MiniDFSCluster.Builder(c).
         numDataNodes(1).build();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to