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 "Yeliang Cang (JIRA)" <ji...@apache.org> on 2018/08/01 02:36:00 UTC

[jira] [Updated] (YARN-8607) Incorrect annotation in ApplicationAttemptStateData#getResourceSecondsMap

     [ https://issues.apache.org/jira/browse/YARN-8607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yeliang Cang updated YARN-8607:
-------------------------------
    Labels: docuentation  (was: )

> Incorrect annotation in ApplicationAttemptStateData#getResourceSecondsMap
> -------------------------------------------------------------------------
>
>                 Key: YARN-8607
>                 URL: https://issues.apache.org/jira/browse/YARN-8607
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Yeliang Cang
>            Assignee: Yeliang Cang
>            Priority: Trivial
>              Labels: docuentation
>
> In ApplicationAttemptStateData.java
> the annotation of getResourceSecondsMap is not correct:
> {code}
> /**
>  * Get the aggregated number of resources preempted that the application has
>  * allocated times the number of seconds the application has been running.
>  *
>  * @return map containing the resource name and aggregated preempted
>  * resource-seconds
>  */
> @Public
> @Unstable
> public abstract Map<String, Long> getResourceSecondsMap();
> {code}
> Should be
> {code}
> /**
>  * Get the aggregated number of resources that the application has
>  * allocated times the number of seconds the application has been running.
>  *
>  * @return map containing the resource name and aggregated preempted
>  * resource-seconds
>  */
> @Public
> @Unstable
> public abstract Map<String, Long> getResourceSecondsMap();
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org