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

Yeliang Cang updated YARN-8607:
-------------------------------
    Attachment: YARN-8607.002.patch

> 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
>         Attachments: YARN-8607.001.patch, YARN-8607.002.patch
>
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to