1-844-696-6465 (US)        +91 77600 44484        help@dezyre.com

When I create a folder in HDFS where does it create?

For example, I created a new folder(s) in HDFS as,
hadoop fs -mkdir wordcount.

If I want to look into this created directory, where should I look in HDFS folders via winscp ?


1 Answer(s)


hi Siri,

Lets say that you have logged in as "cloudera" user and executed "hdfs fs -mkdir wordcount", this hdfs directory will be created in a location which is designated as hdfs and will be available in hdfs path of "/user/cloudera/wordcount"

hadoop fs -ls /user/cloudera/wordcount

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)