[
https://issues.apache.org/jira/browse/YARN-8063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410908#comment-16410908
]
Hudson commented on YARN-8063:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13870 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13870/])
YARN-8063. DistributedShellTimelinePlugin wrongly check for entityId (sunilg:
rev 22c5ddb7c4fb48d5bf5a7456d0b1b27d48c2a485)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/DistributedShellTimelinePlugin.java
> DistributedShellTimelinePlugin wrongly check for entityId instead of
> entityType
> -------------------------------------------------------------------------------
>
> Key: YARN-8063
> URL: https://issues.apache.org/jira/browse/YARN-8063
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Rohith Sharma K S
> Assignee: Rohith Sharma K S
> Priority: Major
> Fix For: 2.10.0, 3.0.2, 3.2.0, 3.1.1
>
> Attachments: YARN-8063.01.patch
>
>
> DistributedShellTimelinePlugin#getTimelineEntityGroupId compare with entityId
> rather than entityType. This causes to fail to getTimelineEntityGroupId.
> {code}
> public Set<TimelineEntityGroupId> getTimelineEntityGroupId(String entityId,
> String entityType) {
> if (ApplicationMaster.DSEntity.DS_CONTAINER.toString().equals(entityId)) {
> ContainerId containerId = ContainerId.fromString(entityId);
> ApplicationId appId = containerId.getApplicationAttemptId()
> .getApplicationId();
> return toEntityGroupId(appId.toString());
> }
> return null;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]