How can access hdfs files from webconsole


#1

I have uploaded a file in hdfs using Ambari.
I want to check that file from web console. I could not figure out how exactly to go to that path from my home directory.

What is the exact path that I should mention to access files in http://a.cloudxlab.com:8080/#/main/view/FILES/auto_files_instance


#2

Hi, Indra.
If you put file via Ambari, it will be in the HDFS only. You can see the path using Hue. Then you can find in HDFS.
You can navigate from your webconsole using.

  1. hdfs ls - will show all the directory in HDFS.
  2. hdfs dfs -ls /user/username/dir/subdir/ – particular directory.