Adapting the recipes to hadoop 2.2