Created 05-25-2017 02:22 AM
I use HDP 2.4,use hive on Tez.
And i want to set the job name show in yarn resource manger page,
Now the hive job name like HIVE-2f58f71e-4c29-4092-ac04-6e63c15ee223 and application is tez.
How should I set the name of hive job name to let it shows on the yarn resource manager page.
Created 05-25-2017 11:19 PM
Hi @darkz yu
Unfortunately, this cannot be set for RM UI. It can only can be correlated in TEZ UI through hive.query.name.
Unlike jobs on MR, where mapred.job.name is used for it.
So far, you cannot do it for RM UI, but you can set hive.query.name and check it on TEZ UI
Reason behind it is that RM UI displays the yarn application name and since in Hive reuses applications heavily there is no 1-1 relationship between application and DAG or query (Tez). For instance.
Please have a look at the following links on this. https://community.hortonworks.com/questions/5309/how-to-set-tez-job-name.html https://issues.apache.org/jira/browse/HIVE-12357
Created 06-28-2017 09:15 AM
Try --hiveconf hive.session.id=appName
Created 06-29-2017 06:24 PM
set 'hive.query.name'