Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Why LineRecordWriter.write(..) is synchronized


Copy link to this message
-
Re: Why LineRecordWriter.write(..) is synchronized
because we may use multi-threads to write a single file.
On Aug 8, 2013 2:54 PM, "Sathwik B P" <[EMAIL PROTECTED]> wrote:

> Hi,
>
> LineRecordWriter.write(..) is synchronized. I did not find any other
> RecordWriter implementations define the write as synchronized.
> Any specific reason for this.
>
> regards,
> sathwik
>