Hadoop preparation method