Posted On: Feb 22, 2018
The fs put command is used to copy or upload a file from the local filesystem to the specific HDFS.
fs put --from source_path_and_file --to dest_path_and_file
Never Miss an Articles from us.
The steps in copying a local file to the HDFS.Create a new file in the local filesystem with any name such as test.txt in the folder /home/user/. Add some content to the file test.txt: echo "hell...