refactoring the hive/impala configuration