Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting intermediate data #46

Open
wonbaekimys opened this issue Apr 14, 2017 · 1 comment
Open

Sorting intermediate data #46

wonbaekimys opened this issue Apr 14, 2017 · 1 comment

Comments

@wonbaekimys
Copy link
Member

This is the structure of intermediate data at reducer side.

Intermediate data
= (idata of key range 1, idata of key range 2, ..., idata of key range N)

idata of key range k
= (iblock 1, iblock 2, ..., iblock M)

Currently, for any idata of a specific key range, key and values are sorted within each iblock, but not across the entire iblocks.
As a result, a reducer will get a key with "partially sorted" list of values.

  • It is required to sort values across the iblocks externally (the original eclipseMR is also missing this feature).
@vicentebolea
Copy link
Member

I understand this issue. I wonder do we need the key values idata to be sorted externally to perform reduce operations. In my understanding the keys must be sorted only within the shuffle phase so that every node gets its corresponding key-values clusters. I might be wrong :)

What would happen if we do not sort those keys externally ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants