I need a java code that can predict future stock prices using kNN algorithm using historical stock data provided. The program should implement mapreduce model of Hadoop. I expect to see the predicted stock price(close price) as well as the precision and accuracy of the algorithm.