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



0
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 ?

Thanks

1 Answer(s)


0

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