HDFS

You are currently auditing this course.
56 / 59

Copy File to HDFS

The file created in the previous step is stored in your home folder in Linux console.

We can copy the files using following command. This command will put myfirstfile.txt from current directory from Linux file system into the HDFS home directory:

hadoop fs -copyFromLocal myfirstfile.txt

or

hadoop fs -put myfirstfile.txt
INSTRUCTIONS

Please copy myfirstfile.txt to your home folder in HDFS.


Loading comments...