List of Topics:
Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to Copy a File from Local System to HDFS?

Hadoop

Copying a File from Local System to HDFS

  • Description:
    Copying a file from a local system to HDFS (Hadoop Distributed File System) involves transferring data from the local file system to the distributed file system for storage, processing, or accessibility by distributed applications.
Syntax
  • Command:
    $ hdfs dfs -put local_path hdfs_path
Example
  • Example Commands:
    • $ hadoop fs -put /home/hduser/Desktop/word1.txt word2.txt
    • $ hadoop fs -ls /user/hduser
    • RNN Model Output Screenshot