[ 
https://issues.apache.org/jira/browse/TEZ-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021424#comment-16021424
 ] 

Eric Badger commented on TEZ-3736:
----------------------------------

Hey [~artemvel], thanks for the patch! Looks like you put up the patch under 
the name of the Jira that broke this piece of code rather than this one 
(TEZ-3189.001.patch instead of TEZ-3736.001.patch)

Also, once you put up a patch, make sure to hit the "Submit Patch" button 
underneath the summary so that the tezqa bot can run the unit tests, 
checkstyle, findbugs, etc. on the patch. 

> SubmittedDAGs is always 0 in Resource Manager UI
> ------------------------------------------------
>
>                 Key: TEZ-3736
>                 URL: https://issues.apache.org/jira/browse/TEZ-3736
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.8.4
>            Reporter: Artem Velykorodnyi
>            Priority: Minor
>         Attachments: TEZ-3189.001.patch
>
>
> I am facing with problem when RM UI always show submittedDAGs=0, 
> think the problem in this snippet of code:
> {code}
> public String submitDAGToAppMaster(....){
> ........
>       if 
> (dagPlan.getName().startsWith(TezConstants.TEZ_PREWARM_DAG_NAME_PREFIX)) {
>         submittedDAGs.incrementAndGet();
>          }
>      }
> }
> {code}
> Think we lost "!" in condition (according TEZ-3189)
> {code}
>       if 
> (!dagPlan.getName().startsWith(TezConstants.TEZ_PREWARM_DAG_NAME_PREFIX)) {
>         submittedDAGs.incrementAndGet();
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to