Yes, you're correct. I forgot it was there. --- Jim Kellerman, Senior Engineer; Powerset
> -----Original Message----- > From: stack [mailto:[EMAIL PROTECTED] > Sent: Friday, March 14, 2008 9:22 AM > To: [email protected] > Subject: Re: svn commit: r637002 - in /hadoop/hbase/trunk: > CHANGES.txt > src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java > > [EMAIL PROTECTED] wrote: > > ... > > URL: > > > http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/ha > > > doop/hbase/regionserver/HStoreFile.java?rev=637002&r1=637001&r2=637002 > > &view=diff > > > ====================================================================== > > ======== > > .... > > + ByteArrayOutputStream byteout = new > ByteArrayOutputStream(); > > + DataOutputStream out = new DataOutputStream(byteout); > > + k.write(out); > > + ByteArrayInputStream bytein = > > + new ByteArrayInputStream(byteout.toByteArray()); > > + DataInputStream in = new DataInputStream(bytein); > > + key.readFields(in) > > Would WritableUtils.cloneInto from hadoop have worked doing the copy? > (Nothing wrong w/ the above, just asking). > St.Ack > > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release > Date: 3/14/2008 12:33 PM > > No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release Date: 3/14/2008 12:33 PM
