}
Log LOG = LogFactory.getLog(BlockMergeTask.class.getName());
boolean isSilent = HiveConf.getBoolVar(conf,
HiveConf.ConfVars.HIVESESSIONSILENT);
LogHelper console = new LogHelper(LOG, isSilent);
// print out the location of the log file for the user so
// that it's easy to find reason for local mode execution failures
for (Appender appender : Collections
.list((Enumeration<Appender>) LogManager.getRootLogger()
.getAllAppenders())) {
if (appender instanceof FileAppender) {
console.printInfo("Execution log at: "
+ ((FileAppender) appender).getFile());
}
}
// log the list of job conf parameters for reference