clone is definitely independent of the Hadoop stuff, but if you have a Writable, then one of the easiest ways to implement clone is just write to a byte array and then pull it back.
That makes round trip tests a bit easier as well. On Sat, Jun 20, 2009 at 10:18 AM, Sean Owen <[email protected]> wrote: > I may be misunderstanding the comment here, but the suggestion is not to > implement clone() in terms of the Writeable API or vice versa right? These > are fairly distinct things. >
