In GenTezProcContext, you can find "new TezWork(conf.getVar(HiveConf.ConfVars.HIVEQUERYID))" part. And the final name is name + ":" + (++counter);
Thanks, Navis 2014-07-10 12:43 GMT+09:00 Grandl Robert <rgra...@yahoo.com>: > Hi guys, > > I am trying to identify a DAG in Tez with a different id, based on job > name(for e.g. query55.sql from hive-testbench) + input size. > > So my new identifier should be for example query55_2048MB. It seems that a > DAG in tez, already takes a name which comes from a jobPlan.getName() > passed through google protobuf thing. Because the DAG is generated in Hive, > I think the new identifier should come from Hive right ? > > Can you pinpoint me which classes, I should change in Hive in order to > propagate the new identifier for the DAG ? > > Thanks, > Robert > >