[ https://issues.apache.org/jira/browse/YARN-7337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259899#comment-16259899 ]
Miklos Szegedi edited comment on YARN-7337 at 11/20/17 9:50 PM: ---------------------------------------------------------------- Thenk you for the patch [~haibochen] {code} 153 @Public 154 @Unstable 155 public abstract Resource getGuaranteedResourceUsed(); 156 ... 160 161 /** 162 * Get <em>opportunistic</em> <code>Resource</code> used on the node. 163 * @return <em>opportunistic</em> <code>Resource</code> used on the node 164 */ 165 @Public 166 @Stable 167 public abstract Resource getOpportunisticResourceUsed(); {code} The stability annotation usage is inconsistent in case of these two functions. {code} 45 /** 46 * @return the amount of resources currently used by the node. 47 */ {code} This should mention amount of guaranteed resources. was (Author: miklos.szeg...@cloudera.com): Thenk you for the patch [~haibochen] {code} 153 @Public 154 @Unstable 155 public abstract Resource getGuaranteedResourceUsed(); 156 ... 160 161 /** 162 * Get <em>opportunistic</em> <code>Resource</code> used on the node. 163 * @return <em>opportunistic</em> <code>Resource</code> used on the node 164 */ 165 @Public 166 @Stable 167 public abstract Resource getOpportunisticResourceUsed(); {code} The stability annotation usage is inconsistent in case of these two functions. > Expose per-node over-allocation info in Node Report > --------------------------------------------------- > > Key: YARN-7337 > URL: https://issues.apache.org/jira/browse/YARN-7337 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Affects Versions: 3.0.0-alpha3 > Reporter: Haibo Chen > Assignee: Haibo Chen > Attachments: YARN-7337-YARN-1011.00.patch, > YARN-7337-YARN-1011.01.patch, YARN-7337-YARN-1011.02.patch, > YARN-7337-YARN-1011.03.patch, YARN-7337-YARN-1011.04.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org