Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8314223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:44:49+00:00 2026-06-08T20:44:49+00:00

I am new to hadoop here. It is not clear why we need to

  • 0

I am new to hadoop here. It is not clear why we need to be able to sort by keys while using hadoop mapreduce ? After map phase, we need to distribute the data corresponding to each unique key to some number of reducers. This can be done without having the need to sort it right ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T20:44:50+00:00Added an answer on June 8, 2026 at 8:44 pm

    It is there, because sorting is a neat trick to group your keys. Of course, if your job or algorithm does not need any order of your keys, then you will be faster to group by some hashing trick.

    In Hadoop itself, there is already a JIRA filed for that since years (source).
    Several other distributions that layer on top of Hadoop have these features already, Hanborq for example (they call it sort avoidance). (source)

    To your actual question (Why), MapReduce was inherently a paper from Google (source) which states the following:

    We guarantee that within a given partition, the intermediate key/value
    pairs are processed in increasing key order. This ordering guarantee
    makes it easy to generate a sorted output file per partition, which is
    useful when the output file format needs to support efficient random
    access lookups by key
    , or users of the output find it convenient to
    have the data sorted.

    So it was more a convenience decision to support sort, but not to inherently only allow sort to group keys.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to pig script, Hadoop, Hbase. Here's what i need to know.
I'm using the new Hadoop API to write a sequence of map-reduce jobs. I
I am new to Hive, MapReduce and Hadoop. I am using Putty to connect
I'm new to Hadoop, and running under AWS Elastic Mapreduce. I need cluster-wide atomic
     I am new to Map-reduce and I am using Hadoop Pipes.      I have an
I'm kind of new to MapReduce in Hadoop. I'm trying to process entries from
I am new here, but need to know the best way to do unit
I am new to Hadoop/PIG. I have a basic question. Do we have a
I am new to Hadoop and Hbase. I would like to know if there
I am new to hadoop and trying to get a single node setup of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.