#NoPayJan Offer - Access all CloudxLab Courses for free between 1st to 31st Jan

  Enroll 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...