hadoop fs -ls

The hadoop fs -ls command allows you to view the files and directories in your HDFS filesystem, much as the ls command works on Linux / OS X / *nix.
--hadoop fs -ls defaults to /user/userName, so you can leave the path blank to view the contents of your home directory.



Related Posts