Skip to content

Commit cf0f716

Browse files
committed
fix some typos.
1 parent dcf58a7 commit cf0f716

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ private void deleteCheckpoint(Path trashRoot, boolean deleteImmediately)
384384
} catch (ParseException e) {
385385
if (cleanNonCheckpointUnderTrashRoot) {
386386
fs.delete(path, true);
387-
LOG.warn("Unexpected item in trash: " + dir + ". Force to delete it.");
387+
LOG.warn("Unexpected item in trash: " + dir + ". Deleting.");
388388
continue;
389389
} else {
390390
LOG.warn("Unexpected item in trash: " + dir + ". Ignoring.");

hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,8 +977,8 @@
977977
<property>
978978
<name>fs.trash.clean.trashroot.enable</name>
979979
<value>false</value>
980-
<description>Whether clean some directories or files
981-
at home of Trash which are not under checkpoint directory or not.
980+
<description>Whether clean some directories and files
981+
in Trash home which are not under checkpoint directory.
982982
</description>
983983
</property>
984984

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestTrash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ public void testTrashEmptier() throws Exception {
788788
}
789789

790790
/**
791-
* Test trash emptier can whether delete non-checkpoint dir or not.
791+
* Test trash emptier can delete non-checkpoint dir or not.
792792
* @throws Exception
793793
*/
794794
@Test()

0 commit comments

Comments
 (0)