You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@hadoop.apache.org by Rana Aich <ra...@yahoo.com> on 2010/04/22 19:39:46 UTC

Where is the 'user' directory

Hi,

I'm a newbie in this sphere...I've downloaded Hadoop yesterday and am going thru the commands listed in the Quick Start page.

I went to http://localhost:50070 the DFS home page.
>From there I clicked 'Browse the File System' link.

There I could see two directories:
/tmp
/user

and all there subdirectories and files.

But when I go to my File sytem I'm unable to find 'user' directory. Though the DFS home page lists it under "/" (root directory) - I couldn't find any directory of that name. Interestingly /tmp is there.

I ran 'find / -name' as Superuser for "user" directory but there is none.

Am I missing something here?

Thanking you all in advance.
-raich

Re: Where is the 'user' directory

Posted by Eric Sammer <es...@cloudera.com>.
HDFS is a user space file system meaning it is a virtual file system,
different from the OS file systems (like ext3, xfs). To access files
on HDFS you use the 'hadoop fs' command. Ex:

hadoop fs -ls /

This is different than your OS / partition and will contain the same
view as the web UI.

On Thu, Apr 22, 2010 at 1:39 PM, Rana Aich <ra...@yahoo.com> wrote:
> Hi,
>
> I'm a newbie in this sphere...I've downloaded Hadoop yesterday and am going thru the commands listed in the Quick Start page.
>
> I went to http://localhost:50070 the DFS home page.
> From there I clicked 'Browse the File System' link.
>
> There I could see two directories:
> /tmp
> /user
>
> and all there subdirectories and files.
>
> But when I go to my File sytem I'm unable to find 'user' directory. Though the DFS home page lists it under "/" (root directory) - I couldn't find any directory of that name. Interestingly /tmp is there.
>
> I ran 'find / -name' as Superuser for "user" directory but there is none.
>
> Am I missing something here?
>
> Thanking you all in advance.
> -raich
>



-- 
Eric Sammer
phone: +1-917-287-2675
twitter: esammer
data: www.cloudera.com