Search code examples
javadatabasehadoophdfshadoop2

where can i find directory i have created using hadoop fs -mkdir in my ubuntu file system


i am new to hadoop , i have created directory using

 hadoop fs -mkdir -p /user/vinayak

where is this folder located in my file system , i am using ubuntu 18.04.

i am new to hadoop and unfamiliar to its architecture

when i tried hadoop fs -ls /
i get this output :

Found 1 items
drwxr-xr-x   - hadoopuser supergroup          0 2019-06-18 11:04 /user

where are this directory found


Solution

  • You won't find that directory in your local (ubuntu) filesystem. You'll have to work with HDFS using its command line utilities (hdfs dfs ...).