Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left

  Apply Now

HDFS - Hadoop Distributed File System

49 / 58

HDFS - Hands-On with Console




Not able to play video? Try with youtube

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.

Loading comments...