data under Hadoop is stored as blocks and is not visible using normal
Unix commands such as "ls" etc.  to see your files, use

hadoop dfs -ls

your files will actually be stored as follows:
>
Specify directories for dfs.name.dir and dfs.data.dir in
conf/hadoop-site.xml. These are used to hold distributed filesystem
data on the master node and slave nodes respectively. Note that
dfs.data.dir may contain a space- or comma-separated list of directory
names, so that data may be stored on multiple devices.
>

Miles

2008/10/11 Amit k. Saha <[EMAIL PROTECTED]>:
> Hi!
>
> I am just getting started with Hadoop in 'pseudo-distributed' mode. My
> FS is formatted on /tmp/hadoop-amit/
>
> I have started the daemons and have created a 'input' directory using
> the DFS shell. Now my question is: where does it 'physically' live?
>
> My initial guess was that it would be in /tmp/hadoop-amit/dfs/data/.
> But I don't see it.
>
> The web-based filesystem browser shows the following directories: tmp
> and /user/amit/input.
>
> Where do they physically live?
>
> Thanks a ton.
>
> Best,
> Amit
>
>
> --
> Amit Kumar Saha
> http://blogs.sun.com/amitsaha/
> http://amitsaha.in.googlepages.com/
> Skype: amitkumarsaha
>



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Reply via email to