hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject Re: Reading Sequence File from Hadoop Distributed Cache ..
Date Fri, 12 Oct 2012 18:27:20 GMT
On 11 October 2012 20:53, Mark Olimpiati <markq2011@gmail.com> wrote:

> Thanks for the reply Harsh, but as I said I tried locally too by using the
> following:
>
>      FileSystem localFs = cachedFiles[0].getFileSystem(new
> Configuration());
>
>
> Isn't the above supposed to give me the local file system ?? If yes, I
> tried that but didn't work, if not, can you show one example?
>
> Thank you,
> Mark


gives you the default FS for that process, which can be different.

what about FileSystem.get("file://tmp",new Configuration())

Mime
View raw message