Only Few Seats Left for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT Roorkee

  Apply Now

HDFS - Hands-On with Console

We can also upload files from CloudxLab Linux console to HDFS.

Let’s say we want to copy the test.txt file from CloudxLab Linux console to HDFS.

  • Login to CloudxLab Linux console.
  • Create a file test.txt using nano or vi editors.
  • Run command hadoop fs -copyFromLocal test.txt.
  • This command will copy the file from CloudxLab Linux console to CloudxLab HDFS.
  • To verify if the file is copied to HDFS, please type hadoop fs -ls test.txt.
  • To see the content of the file in HDFS, please type hadoop fs -cat test.txt.

No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...