You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "nemon lou (JIRA)" <ji...@apache.org> on 2013/04/24 10:15:15 UTC

[jira] [Commented] (YARN-606) negative queue metrcis "apps Failed"

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

nemon lou commented on YARN-606:
--------------------------------

The submitApp() method in QueueMetrcis.java cause negative ,it has this logic:
 public void submitApp(String user, int attemptId) {
    if (attemptId == 1) {
      appsSubmitted.incr();
    } else {
      appsFailed.decr();
    }
   ...
  }

Which is introduced in by MAPREDUCE-3870.
                
> negative  queue metrcis "apps Failed"
> -------------------------------------
>
>                 Key: YARN-606
>                 URL: https://issues.apache.org/jira/browse/YARN-606
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.3-alpha
>            Reporter: nemon lou
>            Priority: Minor
>
> Queue metrcis "apps Failed" can be negative in some cases(more than one attempt for an application can cause this).
> It's confusing if we use this metrics directly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira