Frank, I looked into this quite a while ago.According to my notes you can set 
hive.query.id before running your query to set the DAG name (which is normally 
just an auto-incrementing integer value).
At the time, there was no way to set the name of the AM process, which is what 
you are looking for.TezSessionState hard codes the name as HIVE-<session-id> 
when creating the TezClient.
chris 

    On Friday, January 20, 2017 12:10 PM, Frank Luo <j...@merkleinc.com> wrote:
 

  <!--#yiv0631043901 _filtered #yiv0631043901 {font-family:"Cambria 
Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv0631043901 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv0631043901 
#yiv0631043901 p.yiv0631043901MsoNormal, #yiv0631043901 
li.yiv0631043901MsoNormal, #yiv0631043901 div.yiv0631043901MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", 
sans-serif;}#yiv0631043901 a:link, #yiv0631043901 
span.yiv0631043901MsoHyperlink 
{color:#0563C1;text-decoration:underline;}#yiv0631043901 a:visited, 
#yiv0631043901 span.yiv0631043901MsoHyperlinkFollowed 
{color:#954F72;text-decoration:underline;}#yiv0631043901 pre 
{margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier 
New";}#yiv0631043901 span.yiv0631043901HTMLPreformattedChar 
{font-family:"Courier New";}#yiv0631043901 span.yiv0631043901EmailStyle19 
{font-family:"Calibri", sans-serif;color:windowtext;}#yiv0631043901 
span.yiv0631043901EmailStyle20 {font-family:"Calibri", 
sans-serif;color:#1F497D;}#yiv0631043901 .yiv0631043901MsoChpDefault 
{font-size:10.0pt;} _filtered #yiv0631043901 {margin:1.0in 1.0in 1.0in 
1.0in;}#yiv0631043901 div.yiv0631043901WordSection1 {}-->So no one has a 
solution?    From: Frank Luo 
Sent: Thursday, January 19, 2017 6:14 PM
To: user@hive.apache.org
Cc: Shylaja H. Nagenhalli <shnagenha...@merkleinc.com>
Subject: how to customize tez query app name    When running tez query, the 
“Applications” page shows the job as “HIVE-9c5a8bf1-911b-427a-8d16” for 
example, which is not helpful, especially when a ton of jobs running at the 
same time.    So is there any way to customize the app name?    
“mapreduce.job.name” works for M/R queries, not Tez.     Thx! This email and 
any attachments transmitted with it are intended for use by the intended 
recipient(s) only. If you have received this email in error, please notify the 
sender immediately and then delete it. If you are not the intended recipient, 
you must not keep, use, disclose, copy or distribute this email without the 
author’s prior permission. We take precautions to minimize the risk of 
transmitting software viruses, but we advise you to perform your own virus 
checks on any attachment to this message. We cannot accept liability for any 
loss or damage caused by software viruses. The information contained in this 
communication may be confidential and may be subject to the attorney-client 
privilege.

   

Reply via email to