Training a libsvm using map-reduce paradigm