private void setHiveConfDir(MiniClusterType clusterType) {
      switch (clusterType) {
      case TEZ:
        setHiveConfDir("data/conf/tez");
        break;
      default:
        // TODO: HIVE-28031: Adapt some cli driver tests to Tez where it's applicable
        setHiveConfDir("data/conf/mr");
        break;
      }
    }
Set the appropriate conf dir based on the cluster type.
itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java