Support Questions

Find answers, ask questions, and share your expertise

Naming Hive TEZ session (not individual DAG)

Explorer

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?

1 ACCEPTED SOLUTION

Explorer

Try --hiveconf hive.session.id=appName

View solution in original post

4 REPLIES 4

Rising Star

Currently a query that spawns a yarn job cannot be influenced independently, like it is shown in DAG, reason being is that resources (appplication id) used by any given query, can be reused by a different one, so its not a 1:1 relation

Explorer

Try --hiveconf hive.session.id=appName

Explorer

Thanks a lot @mungeol heo - that setting does the trick.

Do you happen to know whether hive.session.id should be globally unique? On first tests, it seems to work to reuse the same hive.session.id across multiple yarn applications, but it feels a bit dangerous as the setting is named "id".

Explorer

I have not experienced any problem yet.

But, It is better be globally unique.