hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Vyas <jayunit...@gmail.com>
Subject DFS and the RecordReader
Date Thu, 06 Dec 2012 21:37:43 GMT
Hi guys:

Where and how does a Hadoop's record reader decide wether or not it needs
to copy a file to local disk ?

Clearly, since the InputSplit (which has meta data about file inputs) is
the input to the RecordReader, the RecordReader would have to implement
some kind of smart decision making ... Im looking for something like

if(! file.existsLocally())

return new InputStream(file);

I've looked here:


but don't see anything.

Jay Vyas

View raw message