In hdfs the directory exists only as meta data in the name node. There is no real hierarchical existence like normal file system. It is the data in the files that is stored as hdfs blocks distributed across data nodes. You see these hdfs blocks arranged in dfs.data.dir .
Sent from handheld, please excuse typos.
From: "Yuvrajsinh Chauhan" <[EMAIL PROTECTED]>
Date: Thu, 19 Jul 2012 15:16:24
To: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: RE: Hadoop filesystem directories not visible
I Second to you on this. Am also find exactly the same folder on secondary
Also, How can I write files from my external application ?
Yuvrajsinh Chauhan || Sr. DBA || CRESTEL-PSG
Elitecore Technologies Pvt. Ltd.
904, Silicon Tower || Off C.G.Road
Behind Pariseema Building || Ahmedabad || INDIA
[GSM]: +91 9727746022
From: Saniya Khalsa [mailto:[EMAIL PROTECTED]]
Sent: 19 July 2012 14:58
To: [EMAIL PROTECTED]
Subject: Re: Hadoop filesystem directories not visible
Hi Mohammad Tariq,
Thanks for the reply!!
The path to dfs.data.dir is /app/hadoop/tmp/dfs/data
when i go there i find only these :
I am unable to see the created directories here.
On Thu, Jul 19, 2012 at 2:39 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:
If you are talking about the local FS, then it will be present
at the location specified as the value of 'dfs.data.dir' property in
On Thu, Jul 19, 2012 at 1:09 PM, Saniya Khalsa <[EMAIL PROTECTED]>
> I ran these commands
> $HADOOP_HOME/bin/hadoop fs -mkdir /tmp
> $HADOOP_HOME/bin/hadoop fs -mkdir /user
> The directories got created and I can now see the directories using
> following commands:
> [hadoop@master bin]$ ./hadoop fs -ls /
> Found 5 items
> drwxr-xr-x - hadoop supergroup 0 2012-07-16 14:11 /app
> drwxr-xr-x - hadoop supergroup 0 2012-07-17 17:41 /hadoop
> drwxr-xr-x - hadoop supergroup 0 2012-07-18 14:11 /hbase
> drwxr-xr-x - hadoop supergroup 0 2012-07-19 14:11 /tmp
> drwxr-xr-x - hadoop supergroup 0 2012-07-19 17:41 /user
> I can see this data from both the nodes by typing the command ,but i
> view the directories created in the file path anywhere.Please tell me how
> to see these directories created in file system.