0

I installed cloudera quickstart vm on docker. On HDFS Web UI five folders (benchmarks, hbase, tmp, user and var) are listed but when I use

hdfs dfs -ls

or

hadoop fs -ls

commands. It displays any directory. Any solution?

1 Answers1

4

By default it shows your HDFS home folder (which often is empty on a fresh installation).

If you want to show the root of HDFS (which is what the web ui shows), add / to the end of either command

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245