<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Hadoop MapReduce sorting order in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-MapReduce-sorting-order/m-p/127224#M39189</link>
    <description>&lt;P&gt;For equal rowkey, random, otherwise, sorted by rowkey as a String. Same behavior in Hadoop 1.X and 2.X.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2016 05:18:04 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-12-29T05:18:04Z</dc:date>
    <item>
      <title>Hadoop MapReduce sorting order</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-MapReduce-sorting-order/m-p/127223#M39188</link>
      <description>&lt;P&gt;I have developed MapReduce job which has -
 - One input split and thus one map task
 - map i/p key is Path and value is BytesWritable (one min log file)
 - map o/p key is Text and value is also Text (Record from min file)
 - I have configured no of reducers to 1&lt;/P&gt;

&lt;P&gt;I know map outputs will get sorted based on natural order of key, but
 what will be the order for the records having same key? Will it be 
based on First-In-First-Out? Lets say for same key map emits output id 
FIFO basis, will that same order get preserved when it comes to reducer ?
 Also, if you can let me know if this behavior is same in hadoop 1.X and
 2.X? &lt;/P&gt;

&lt;P&gt;Note: I have not implemented Secondary sort.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 01:25:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-MapReduce-sorting-order/m-p/127223#M39188</guid>
      <dc:creator>kk778j</dc:creator>
      <dc:date>2016-08-31T01:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop MapReduce sorting order</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-MapReduce-sorting-order/m-p/127224#M39189</link>
      <description>&lt;P&gt;For equal rowkey, random, otherwise, sorted by rowkey as a String. Same behavior in Hadoop 1.X and 2.X.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 05:18:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-MapReduce-sorting-order/m-p/127224#M39189</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-12-29T05:18:04Z</dc:date>
    </item>
  </channel>
</rss>

