You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by Darion Yaphet <da...@gmail.com> on 2016/11/06 14:09:39 UTC

Why use FileSystem.getLocal to get Local File System?

Hi experts :

I found we are using Hadoop API's FileSystem.getLocal to get local file
system and I think maybe use java.nio.file.FileSystem is better .

I look forward to your reply thanks :0

-- 

long is the way and hard  that out of Hell leads up to light

Re: Why use FileSystem.getLocal to get Local File System?

Posted by Jonathan Eagles <je...@gmail.com>.
Local file system provides checksum of bytes to ensure data from disk or
shuffle is correct.
On Nov 6, 2016 8:10 AM, "Darion Yaphet" <da...@gmail.com> wrote:

> Hi experts :
>
> I found we are using Hadoop API's FileSystem.getLocal to get local file
> system and I think maybe use java.nio.file.FileSystem is better .
>
> I look forward to your reply thanks :0
>
> --
>
> long is the way and hard  that out of Hell leads up to light
>