Hadoop file system commands
If you are working with EMR or hadoop, the following file system command would be handy. List the contents of a directory hadoop fs -ls folderPath Example: To list the contents of the folder hdfs:/input/ hadoop fs -ls /input/data To list all the files recursively in all subfolders hadoop fs -ls -R /input/data To remove … Read more