Skip to content

Commit

Permalink
HIVE-16754: LLAP: Print hive version info on llap daemon startup (Pra…
Browse files Browse the repository at this point in the history
…santh Jayachandran reviewed by Siddharth Seth)
  • Loading branch information
prasanthj committed May 24, 2017
1 parent 3fe65a3 commit ef6a90a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
import org.apache.hadoop.util.StringUtils;
import org.apache.hadoop.yarn.api.ApplicationConstants;
import org.apache.hadoop.yarn.util.ConverterUtils;
import org.apache.hive.common.util.HiveVersionInfo;
import org.apache.hive.common.util.ShutdownHookManager;
import org.apache.logging.log4j.core.config.Configurator;
import org.slf4j.Logger;
Expand Down Expand Up @@ -198,7 +199,8 @@ public LlapDaemon(Configuration daemonConf, int numExecutors, long executorMemor
", workDirs=" + Arrays.toString(localDirs) +
", shufflePort=" + shufflePort +
", waitQueueSize= " + waitQueueSize +
", enablePreemption= " + enablePreemption;
", enablePreemption= " + enablePreemption +
", versionInfo= (" + HiveVersionInfo.getBuildVersion() + ")";
LOG.info(logMsg);
final String currTSISO8601 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date());
// Time based log retrieval may not fetch the above log line so logging to stderr for debugging purpose.
Expand Down

0 comments on commit ef6a90a

Please sign in to comment.