From 90f57965e9a051783ab1410edf3c1342444597f9 Mon Sep 17 00:00:00 2001 From: S O'Donnell Date: Fri, 29 May 2020 14:35:54 +0100 Subject: [PATCH] HADOOP-7002. Wrong description of copyFromLocal and copyToLocal in documentation. Contributed by Andras Bokor. (cherry picked from commit 19f26a020e2e5cec2ceb28d796c63c83bc8ac506) --- .../src/site/markdown/FileSystemShell.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md index 463aaa3724..54438cedc5 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md @@ -122,25 +122,12 @@ Options copyFromLocal ------------- -Usage: `hadoop fs -copyFromLocal URI` - -Similar to the `fs -put` command, except that the source is restricted to a local file reference. - -Options: - -* `-p` : Preserves access and modification times, ownership and the permissions. -(assuming the permissions can be propagated across filesystems) -* `-f` : Overwrites the destination if it already exists. -* `-l` : Allow DataNode to lazily persist the file to disk, Forces a replication - factor of 1. This flag will result in reduced durability. Use with care. -* `-d` : Skip creation of temporary file with the suffix `._COPYING_`. +Identical to the -put command. copyToLocal ----------- -Usage: `hadoop fs -copyToLocal [-ignorecrc] [-crc] URI ` - -Similar to get command, except that the destination is restricted to a local file reference. +Identical to the -get command. count -----