Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 94987 invoked from network); 8 Nov 2006 18:31:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 18:31:16 -0000 Received: (qmail 94602 invoked by uid 500); 8 Nov 2006 18:31:27 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 94571 invoked by uid 500); 8 Nov 2006 18:31:26 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 94562 invoked by uid 99); 8 Nov 2006 18:31:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 10:31:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 10:31:15 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 289B47142EC for ; Wed, 8 Nov 2006 10:30:55 -0800 (PST) Message-ID: <2192560.1163010655164.JavaMail.jira@brutus> Date: Wed, 8 Nov 2006 10:30:55 -0800 (PST) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-611) SequenceFile.Sorter should have a merge method that returns an iterator In-Reply-To: <6429596.1161148355062.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HADOOP-611?page=comments#action_12448226 ] Doug Cutting commented on HADOOP-611: ------------------------------------- > It is done on merge outputs via writer.sync = null to keep the writer from putting in sync blocks It's actually more than a space-saving measure: the syncs make the computation of length harder, and temporary outputs are length-prefixed. > SequenceFile.Sorter should have a merge method that returns an iterator > ----------------------------------------------------------------------- > > Key: HADOOP-611 > URL: http://issues.apache.org/jira/browse/HADOOP-611 > Project: Hadoop > Issue Type: New Feature > Components: io > Reporter: Owen O'Malley > Assigned To: Devaraj Das > Fix For: 0.9.0 > > Attachments: merge.patch, merge.patch, merge.patch, merge.patch > > > SequenceFile.Sorter should get a new merge method that returns an iterator over the keys/values. > The current merge method should become a simple method that gets the iterator and writes the records out to a file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira