Support Questions

Find answers, ask questions, and share your expertise

Naming TEZ-Hive session

avatar
New Contributor

Hi ,

I'm currently struggling for a solution regarding naming of TEZ session. Before we used mapred.job.name which is not working now as we are currently using Hive 0.14.0.2.2.0.0-2041. I even tried hive.job.name = 'myname' with no success. Can anyone let me know whether there is a way to identify running TEZ-hive qeuries in YARN UI please.

Thank You...

1 ACCEPTED SOLUTION

avatar
Master Mentor

@chenna deep It is a know issue. It was fixed in HDP 2.3.4. Since you're on HDP 2.2.0.0, you need to upgrade to the latest release to take advantage of this feature. https://community.hortonworks.com/questions/5309/how-to-set-tez-job-name.html. The way it was implemented, you'd need to set "hive.query.name" property to name your hive job.

View solution in original post

7 REPLIES 7

avatar
Master Mentor

@chenna deep It is a know issue. It was fixed in HDP 2.3.4. Since you're on HDP 2.2.0.0, you need to upgrade to the latest release to take advantage of this feature. https://community.hortonworks.com/questions/5309/how-to-set-tez-job-name.html. The way it was implemented, you'd need to set "hive.query.name" property to name your hive job.

avatar
Master Mentor

here's apache jira to track it but it shows as not fixed because it breaks compatibility with future Hive releases and that has no effect on HDP 2.3.4. https://issues.apache.org/jira/browse/HIVE-12357

avatar
New Contributor

ThankYou so much for the clarification @Artem Ervits..

avatar
Contributor

@Artem Ervits maybe you can help here once more?

Setting "hive.query.name" will influence the query name that is shown for an individual DAG on the TEZ UI.

But how do we influence the YARN application name of a complete TEZ session that is shown on the YARN UI?

avatar
Master Mentor

@Michael Häusler please post this as a new question.

avatar
Contributor

avatar
Contributor

Try --hiveconf hive.session.id=appName