HADOOP-7002. Wrong description of copyFromLocal and copyToLocal in documentation. Contributed by Andras Bokor.
(cherry picked from commit 19f26a020e
)
This commit is contained in:
parent
b803efbdce
commit
90f57965e9
@ -122,25 +122,12 @@ Options
|
|||||||
copyFromLocal
|
copyFromLocal
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Usage: `hadoop fs -copyFromLocal <localsrc> URI`
|
Identical to the -put command.
|
||||||
|
|
||||||
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_`.
|
|
||||||
|
|
||||||
copyToLocal
|
copyToLocal
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Usage: `hadoop fs -copyToLocal [-ignorecrc] [-crc] URI <localdst> `
|
Identical to the -get command.
|
||||||
|
|
||||||
Similar to get command, except that the destination is restricted to a local file reference.
|
|
||||||
|
|
||||||
count
|
count
|
||||||
-----
|
-----
|
||||||
|
Loading…
Reference in New Issue
Block a user