Let us see how one can list files in HDFS.

  • Listing files under /public/retail_db - hadoop fs -ls /public/retail_db
  • Review the details that are generated on the standard out in Linux Terminal.
  • We can also get files recursively using command hadoop fs -ls -R /public/retail_db