Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Naming Hive TEZ session (not individual DAG)

avatar
Visitor

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

avatar
New Member

Try --hiveconf hive.session.id=appName

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

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

avatar
New Member

Try --hiveconf hive.session.id=appName

avatar
Visitor

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".

avatar
New Member

I have not experienced any problem yet.

But, It is better be globally unique.