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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -