Enrollments Open for Certification Course on Artificial Intelligence and Deep Learning by IIT Roorkee

  Apply Now

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 mylocalfile.txt from current directory from Linux file system into the HDFS home directory:

hadoop fs -copyFromLocal myfirstfile.txt


hadoop fs -put myfirstfile.txt

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

No hints are availble for this assesment

Answer is not availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...