Preparing the Hadoop cluster