public void setConf(HiveConf conf) {
    if (hiveDb != null) {
      hiveDb.setConf(conf);
    }
    this.sessionConf = conf;
  }
Marker flag to indicate that the current SessionState (and Driver) instance is used for executing compaction queries only.
It is required to exclude compaction related queries from all Ranger policies that would otherwise apply.
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java