You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by me...@apache.org on 2023/02/22 09:01:59 UTC

[hadoop] branch branch-3.3 updated: HADOOP-18633. fix test AbstractContractDistCpTest#testDistCpUpdateCheckFileSkip (#5422)

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

mehakmeet pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new a3b0135ea63 HADOOP-18633. fix test AbstractContractDistCpTest#testDistCpUpdateCheckFileSkip (#5422)
a3b0135ea63 is described below

commit a3b0135ea6366465fb43fe09740f32deeed85f94
Author: Mehakmeet Singh <me...@gmail.com>
AuthorDate: Wed Feb 22 14:31:46 2023 +0530

    HADOOP-18633. fix test AbstractContractDistCpTest#testDistCpUpdateCheckFileSkip (#5422)
    
    
    Contributed by: Mehakmeet Singh
---
 hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm              | 2 +-
 .../org/apache/hadoop/tools/contract/AbstractContractDistCpTest.java   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm b/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
index 73f776c2bff..0aba6d900a9 100644
--- a/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
+++ b/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
@@ -652,7 +652,7 @@ checksums if the checksum algorithm between the two stores is different.
 * `distcp.update.modification.time` would only be used if either of the two
   stores don't have checksum validation resulting in incompatible checksum
   comparison between the two. Even if the property is set to true, it won't
-  be used if their is valid checksum comparison between the two stores.
+  be used if there is valid checksum comparison between the two stores.
 
 To turn off the modification time check, set this in your core-site.xml
 ```xml
diff --git a/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/contract/AbstractContractDistCpTest.java b/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/contract/AbstractContractDistCpTest.java
index 532abc2aa40..aa42cb968d6 100644
--- a/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/contract/AbstractContractDistCpTest.java
+++ b/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/contract/AbstractContractDistCpTest.java
@@ -899,8 +899,7 @@ public abstract class AbstractContractDistCpTest
     // Creating a source file with certain dataset.
     byte[] sourceBlock = dataset(10, 'a', 'z');
 
-    // Write the dataset and as well create the target path.
-    ContractTestUtils.createFile(localFS, dest, true, sourceBlock);
+    // Write the dataset.
     ContractTestUtils
         .writeDataset(remoteFS, source, sourceBlock, sourceBlock.length,
             1024, true);


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