Juanjuan Tian created YARN-11550: ------------------------------------- Summary: PreemptedResourceSeconds is wrongly recovered when RM has a restart Key: YARN-11550 URL: https://issues.apache.org/jira/browse/YARN-11550 Project: Hadoop YARN Issue Type: Bug Components: metrics Affects Versions: 3.3.4 Reporter: Juanjuan Tian
PreemptedResourceSeconds is wrongly recovered when RM has a restart, it wrongly load from *ApplicationResourceUsageMap* public Map<String, Long> getPreemptedResourceSecondsMap() { if (this.preemptedResourceSecondsMap != null) { return this.preemptedResourceSecondsMap; } ApplicationAttemptStateDataProtoOrBuilder p = viaProto ? proto : builder; this.preemptedResourceSecondsMap = ProtoUtils .convertStringLongMapProtoListToMap( *p.getApplicationResourceUsageMapList());* return this.preemptedResourceSecondsMap; } -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org