hadoop MapReduce sort by value only -



hadoop MapReduce sort by value only -

is there way sort mapreduce output value only, , without changing output sequence of key , value?

the original output (sorted key):

a 1

b 2

c 1

d 3

and need output (sorted value):

d 3

b 2

a 1

c 1

i tried create adding sorting job using inversemapper swap key , value output sorted value, worked, output like:

3 d

2 b

1 a

1 c

is there anyway reverse output format of key , value?

or there other way sort value only?

thanks

m/r sort-by-key. if want sort value need create job maps value sorted key.

hadoop mapreduce

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -