private static void setHiveConf(HiveConf conf, HiveConf.ConfVars var, boolean value) {
    if (LOG.isDebugEnabled()) {
      LOG.debug("Overriding HiveConf setting : " + var + " = " + value);
    }
    conf.setBoolVar(var, value);
  }
Add Write notification events if it is enabled.
@throws StreamingException File operation errors or HMS errors.
streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java