>From the client's point of view fs.default.name sets the default
filesystem, and is used to resolve paths that don't specify a
protocol. You can always use a fully qualified URI to specify the path
e.g. s3://bucket/a/b or hdfs://nn/a/b. This allows you to e.g. e.g.
take map inputs from HDFS and write reduce outputs to S3.

For HDFS the setting of fs.default.name in hadoop-site.xml determines
the host and port for the namenode.

Does this help? How are you trying to use S3 by the way?

Tom

On 01/03/2008, Steve Sapovits <[EMAIL PROTECTED]> wrote:
>
> I have some confusion over the use of Amazon S3 as storage.
>
> I was looking at the fs.default.name as the name node -- a host and a port
> the client uses to ask the name node to perform DFS services.  But for Amazon
> S3 you give it an S3 bucket URL, which is really just a direct pointer to the
> storage.  So it seems fs.default.name is really just a storage setting that 
> happens
> to be a service (host/port) for HDFS.  Even though S3 is also a service, it 
> can't
> also be a name node.
>
> If that's true, where is the host/port of the name node configured separate 
> from
> fs.default.name?  It would seem no matter what the underlying storage you'd 
> need
> a name node service somewhere.
>
> I'm probably missing something bigger here ...
>
> --
> Steve Sapovits
> Invite Media  -  http://www.invitemedia.com
> [EMAIL PROTECTED]
>
>

Reply via email to