Thanks

From: Nick Pentreath [mailto:[email protected]]
Sent: Tuesday, April 07, 2015 5:52 PM
To: Puneet Kumar Ojha
Cc: [email protected]
Subject: Re: Difference between textFile Vs hadoopFile (textInoutFormat) on 
HDFS data

There is no difference - textFile calls hadoopFile with a TextInputFormat, and 
maps each value to a String.

—
Sent from Mailbox<https://www.dropbox.com/mailbox>


On Tue, Apr 7, 2015 at 1:46 PM, Puneet Kumar Ojha 
<[email protected]<mailto:[email protected]>> wrote:
Hi ,


Is there any difference between Difference between textFile Vs hadoopFile 
(textInoutFormat) when data is present in HDFS? Will there be any performance 
gain that can be observed?


Puneet Kumar Ojha
Data Architect | PubMatic<http://www.pubmatic.com/>



Reply via email to