Hadoop best practice