hadoop algorithm example for cloud2014 summer class