use parameter to configure hadoop and hive version