private void setHiveConfVar(String key, String val) {
    getOpts().getHiveConfVariables().put(key, val);
    if (HiveConf.ConfVars.HIVE_EXECUTION_ENGINE.varname.equals(key) && "mr".equals(val)) {
      info(HiveConf.generateMrDeprecationWarning());
    }
  }
Entry point to creating a {@link ColorBuffer} with color
enabled or disabled depending on the value of {@link BeeLineOpts#getColor}.
beeline/src/java/org/apache/hive/beeline/BeeLine.java