Try with Mahout and distributed Naive Bayes.