You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Chris Mildebrandt <ch...@woodenrhino.com> on 2014/02/28 20:57:19 UTC

Using a specific local path in fs.defaultFS (e.g. file:///local/)

Hello,

I'm trying to figure out if I can use a specific path in the fs.defaultFS
property. For example, I have a local directory at /local and would like
the root path to start under /local. So I used the value file:///local/ as
the value of fs.defaultFS. This had no affect and still used the root of my
file system.

Is there a way (through configuration or another AbstractFileSystem
implementation) to specify a directory as the root of the filesystem as
seen from Hadoop?

Thanks,
-Chris

Re: Using a specific local path in fs.defaultFS (e.g. file:///local/)

Posted by Chris Mildebrandt <ch...@woodenrhino.com>.
Hi,

I'm going to bump this question up, but it's looking like I may have to
write my own implementation to make this work. Any ways around that using
the existing technology? Is this something that would be useful enough to
modify the existing LocalFileSystem class and contribute back?

Thanks,
-Chris

On Fri, Feb 28, 2014 at 11:57 AM, Chris Mildebrandt
<ch...@woodenrhino.com>wrote:

> Hello,
>
> I'm trying to figure out if I can use a specific path in the fs.defaultFS
> property. For example, I have a local directory at /local and would like
> the root path to start under /local. So I used the value file:///local/ as
> the value of fs.defaultFS. This had no affect and still used the root of my
> file system.
>
> Is there a way (through configuration or another AbstractFileSystem
> implementation) to specify a directory as the root of the filesystem as
> seen from Hadoop?
>
> Thanks,
> -Chris
>

Re: Using a specific local path in fs.defaultFS (e.g. file:///local/)

Posted by Chris Mildebrandt <ch...@woodenrhino.com>.
Hi,

I'm going to bump this question up, but it's looking like I may have to
write my own implementation to make this work. Any ways around that using
the existing technology? Is this something that would be useful enough to
modify the existing LocalFileSystem class and contribute back?

Thanks,
-Chris

On Fri, Feb 28, 2014 at 11:57 AM, Chris Mildebrandt
<ch...@woodenrhino.com>wrote:

> Hello,
>
> I'm trying to figure out if I can use a specific path in the fs.defaultFS
> property. For example, I have a local directory at /local and would like
> the root path to start under /local. So I used the value file:///local/ as
> the value of fs.defaultFS. This had no affect and still used the root of my
> file system.
>
> Is there a way (through configuration or another AbstractFileSystem
> implementation) to specify a directory as the root of the filesystem as
> seen from Hadoop?
>
> Thanks,
> -Chris
>

Re: Using a specific local path in fs.defaultFS (e.g. file:///local/)

Posted by Chris Mildebrandt <ch...@woodenrhino.com>.
Hi,

I'm going to bump this question up, but it's looking like I may have to
write my own implementation to make this work. Any ways around that using
the existing technology? Is this something that would be useful enough to
modify the existing LocalFileSystem class and contribute back?

Thanks,
-Chris

On Fri, Feb 28, 2014 at 11:57 AM, Chris Mildebrandt
<ch...@woodenrhino.com>wrote:

> Hello,
>
> I'm trying to figure out if I can use a specific path in the fs.defaultFS
> property. For example, I have a local directory at /local and would like
> the root path to start under /local. So I used the value file:///local/ as
> the value of fs.defaultFS. This had no affect and still used the root of my
> file system.
>
> Is there a way (through configuration or another AbstractFileSystem
> implementation) to specify a directory as the root of the filesystem as
> seen from Hadoop?
>
> Thanks,
> -Chris
>

Re: Using a specific local path in fs.defaultFS (e.g. file:///local/)

Posted by Chris Mildebrandt <ch...@woodenrhino.com>.
Hi,

I'm going to bump this question up, but it's looking like I may have to
write my own implementation to make this work. Any ways around that using
the existing technology? Is this something that would be useful enough to
modify the existing LocalFileSystem class and contribute back?

Thanks,
-Chris

On Fri, Feb 28, 2014 at 11:57 AM, Chris Mildebrandt
<ch...@woodenrhino.com>wrote:

> Hello,
>
> I'm trying to figure out if I can use a specific path in the fs.defaultFS
> property. For example, I have a local directory at /local and would like
> the root path to start under /local. So I used the value file:///local/ as
> the value of fs.defaultFS. This had no affect and still used the root of my
> file system.
>
> Is there a way (through configuration or another AbstractFileSystem
> implementation) to specify a directory as the root of the filesystem as
> seen from Hadoop?
>
> Thanks,
> -Chris
>