You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yeliang Cang (JIRA)" <ji...@apache.org> on 2018/08/01 02:31:00 UTC

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

Yeliang Cang created YARN-8607:
----------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org