Updating initial HDFS Code