Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Naming TEZ-Hive session

Solved Go to solution

Naming TEZ-Hive session

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

Accepted Solutions

Re: Naming TEZ-Hive session

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.

7 REPLIES 7

Re: Naming TEZ-Hive session

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.

Re: Naming TEZ-Hive session

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

Highlighted

Re: Naming TEZ-Hive session

New Contributor

ThankYou so much for the clarification @Artem Ervits..

Re: Naming TEZ-Hive session

New 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?

Re: Naming TEZ-Hive session

Mentor

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

Re: Naming TEZ-Hive session

New Contributor

Re: Naming TEZ-Hive session

New Contributor

Try --hiveconf hive.session.id=appName

Don't have an account?
Coming from Hortonworks? Activate your account here