Reputation: 470
How to find full path for HDFS storage in my system? e.g. I have /user/cloudera/ folder on hdfs storage, but what is path to the "/user/cloudera"? Are there any specific commands? HDFS dfs -ls and HDFS dfs -ls -R return only directory list, but not path.
My question is unique, because in here you don't get the HDFS path in the end.
Upvotes: 1
Views: 4193
Reputation: 5967
If you are an HDFS admin, you can run:
hdfs fsck /user/cloudera -files -blocks -locations
Upvotes: 2