copyFromLocal

Works similarly to the put command, except that the source is restricted to a local file reference.

Arguments

-d

Skips creation of a temporary file with the suffix .COPYING.

-f

Overwrites the destination file if it already exists

-l

Allows DataNode to lazily persist files to disk, forces the replication factor of 1. This flag results in reduced durability. Use this flag with care

-p

Preserves access and modification times, ownership and the permissions (assuming the permissions can be propagated across filesystems)

Found a mistake? Seleсt text and press Ctrl+Enter to report it