Hi ,
 To simplify my problem -
I have 2 files from which I reading words.
the o/p is like 
file 1 
aaa 4
bbb 6
ddd 3

file 2
ddd 2
bbb 6
ttt 5

if I do file1.join(file2)
I get (ddd(3,2) 
        bbb(6,6)

If I want to sort the output by the number of occurances of the word i file1
. How do I achive that.
Any help would be appreciated.
Thanks
AJ




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Sortingthe-output-for-spark-join-tp21763.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to