xiejiajun commented on a change in pull request #947:
URL: https://github.com/apache/hive/pull/947#discussion_r436362166



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java
##########
@@ -310,7 +311,11 @@ protected void openInternal(final HiveConf conf, 
Collection<String> additionalFi
 
     setupSessionAcls(tezConfig, conf);
 
-    final TezClient session = TezClient.newBuilder("HIVE-" + sessionId, 
tezConfig)
+    String tezJobName = HiveConf.getVar(conf,ConfVars.HIVETEZJOBNAME); 
+    if (StringUtils.isBlank(tezJobName)){
+      tezJobName = "HIVE-" + sessionId;

Review comment:
       @belugabehr  This is a good idea and I will do it




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to