Your comment looks right to me. I think that the "!" got lost between versions 
of the patches. You should file a Tez Jira so that we can track the fix and 
then put up a patch with the fix, if you'd like. 
Eric

    On Tuesday, May 23, 2017 10:24 AM, Артем Великородный <[email protected]> 
wrote:
 

 Hello,I am facing with problem when RM UI always show submittedDAGs=0, 
think the problem in this snippet of code:
public class DAGAppMaster{.....
public String submitDAGToAppMaster(....){
........      if 
(dagPlan.getName().startsWith(TezConstants.TEZ_PREWARM_DAG_NAME_PREFIX)) {      
  submittedDAGs.incrementAndGet();      }}}
this changes was according: TEZ-3189. Pre-warm dags should not be counted in 
submitted dags count by DAGAppMaster. (Zhiyuan Yang via hitesh
should we chang it to following?
      if 
(!dagPlan.getName().startsWith(TezConstants.TEZ_PREWARM_DAG_NAME_PREFIX)) {     
   submittedDAGs.incrementAndGet();      }
Thanks, Artem

   

Reply via email to