Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 24471 invoked from network); 19 Feb 2010 22:06:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 22:06:52 -0000 Received: (qmail 60871 invoked by uid 500); 19 Feb 2010 22:06:49 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 60780 invoked by uid 500); 19 Feb 2010 22:06:49 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 60770 invoked by uid 99); 19 Feb 2010 22:06:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 22:06:49 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [202.165.103.49] (HELO web15904.mail.cnb.yahoo.com) (202.165.103.49) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Feb 2010 22:06:38 +0000 Received: (qmail 21531 invoked by uid 60001); 19 Feb 2010 22:06:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1266617176; bh=qJF00xzTW/sQQM3o83Snc76emrbf0klZwMj9IkCSAw4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wSd2H/T/qil5LOpk3et/xdYfyeCCPuAuaLkY6qVxnqC3wS7LmMpigpz41HVvzp25cdX8dSIgETVpuBO+Y5zKz/TXTIdJZqzDscdogFFv51XO/fjL4v8YsgFfIvCUQ7i+RKIcdvVFGMqaxMbbBZwsE8ogvHzOBNq7rE23/agYCe0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Qgl6QOc0SdreC+6cFPRCHNoI+Y5aYtzrCpYyowoy4sxnw4UOkl+kcGrvZWy2eETO454g7bCIbrvvamxLkoWA8s0sOkHYL4D4GM5hKFGxpqTM3dRDW0ygSP7tqhjBcERmEzUhCYk0aNNX8NrK8NL7Lz2Pu3UcW5TY214DQJZfp8A=; Message-ID: <66147.14557.qm@web15904.mail.cnb.yahoo.com> X-YMail-OSG: YatcNAEVM1naYfSHtYJ5QMW5Vo.As5_OSMJiMcW3qxkRy3Xwa8KmBkvJwjjePGrg5ZMduVT_Of00P3jdUWMwXkHDnlGtb84RtZU3WrcSr33GU4gI7tNZmZmM4ZjZZeUq8LPWSyCiq8gfrtyeYDKtjIDU615kAMLGLQbu2EP3unPlhUKTKukT7ovuvxy0T1mo2ruOAb7zcfrEx5aTsp.axt6iN8HqjA.Y8DUvOZJfANB.jiuX5UVucKBKeSzVReOQY4k3J2DXHIoK Received: from [152.3.136.188] by web15904.mail.cnb.yahoo.com via HTTP; Sat, 20 Feb 2010 06:06:15 CST X-Mailer: YahooMailRC/300.3 YahooMailWebService/0.8.100.260964 References: <57950.1266607550@buffalo.edu> Date: Sat, 20 Feb 2010 06:06:15 +0800 (CST) From: Gang Luo Subject: Re: Some information on Hadoop Sort To: common-user@hadoop.apache.org, aa225@buffalo.edu In-Reply-To: <57950.1266607550@buffalo.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi,=0Athe sorting is done by the MapReduce framework. At map side, the outp= ut record will first go to a sorting buffer where the sorting, partitioning= and combining (if there is combiner) happen. If necessary, multi-phase sor= ting is done to make a single sorted result for each map task. At reduce si= de, all the data from multiple map tasks will be merged (each of them is so= rted at the map side, you only need merge sort here). It goes multiple roun= ds if necessary.=0A=0A-Gang=0A=0A=0A=0A----- =D4=AD=CA=BC=D3=CA=BC=FE ----= =0A=B7=A2=BC=FE=C8=CB=A3=BA "aa225@buffalo.edu" =0A=CA= =D5=BC=FE=C8=CB=A3=BA common-user@hadoop.apache.org=0A=B7=A2=CB=CD=C8=D5=C6= =DA=A3=BA 2010/2/19 (=D6=DC=CE=E5) 2:25:50 =CF=C2=CE=E7=0A=D6=F7 =CC=E2= =A3=BA Some information on Hadoop Sort=0A=0AHello,=0A I was wondering = if some one could me some information on hadoop does the=0Asorting. From wh= at I have read there does not seem to be a map class and reduce=0Aclass ? W= here and how is the sorting parallelized ?=0A=0A=0ABest Regards from Buffal= o=0A=0AAbhishek Agrawal=0A=0ASUNY- Buffalo=0A(716-435-7122)=0A=0A=0A _= __________________________________________________________ =0A =BA=C3=CD= =E6=BA=D8=BF=A8=B5=C8=C4=E3=B7=A2=A3=AC=D3=CA=CF=E4=BA=D8=BF=A8=C8=AB=D0=C2= =C9=CF=CF=DF=A3=A1 =0Ahttp://card.mail.cn.yahoo.com/