You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "slfan1989 (via GitHub)" <gi...@apache.org> on 2023/05/02 00:52:50 UTC
[GitHub] [hadoop] slfan1989 commented on a diff in pull request #5606: YARN-9049. Add application submit data to state store.
slfan1989 commented on code in PR #5606:
URL: https://github.com/apache/hadoop/pull/5606#discussion_r1181996398
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/federation/store/FederationApplicationHomeSubClusterStore.java:
##########
@@ -117,5 +117,4 @@ GetApplicationsHomeSubClusterResponse getApplicationsHomeSubCluster(
*/
DeleteApplicationHomeSubClusterResponse deleteApplicationHomeSubCluster(
DeleteApplicationHomeSubClusterRequest request) throws YarnException;
-
Review Comment:
Thank you very much for your help in reviewing the code! I will modify the code.
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/federation/store/records/ApplicationHomeSubCluster.java:
##########
@@ -150,7 +171,8 @@ public int hashCode() {
return new HashCodeBuilder().
append(this.getApplicationId()).
append(this.getHomeSubCluster()).
- append(this.getCreateTime()).toHashCode();
+ append(this.getCreateTime()).
+ append(this.getApplicationSubmissionContext()).toHashCode();
Review Comment:
I will fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org