Thanks! Quick question on that particular class: why are the methods synchronized? I didn't think that key/value objects needed to be thread safe?

Ryan



On Sep 5, 2008, at 1:09 PM, "Owen O'Malley" <[EMAIL PROTECTED]> wrote:

Yes, it is pretty easy to compose Writables. Just have the write and
readFields call the nested types. Look at the way that
JobStatus<http://svn.apache.org/repos/asf/hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobStatus.java >'s
write method calls jobid.write.

-- Owen

Reply via email to