add optimized parameters for hadoop and jave.