Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8063

DistributedShellTimelinePlugin wrongly check for entityId instead of entityType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0, 2.10.0, 3.0.3
    • None
    • None
    • Reviewed

    Description

      DistributedShellTimelinePlugin#getTimelineEntityGroupId compare with entityId rather than entityType. This causes to fail to getTimelineEntityGroupId.

       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;
        }
      

      Attachments

        1. YARN-8063.01.patch
          3 kB
          Rohith Sharma K S

        Activity

          People

            rohithsharma Rohith Sharma K S
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: