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

AbstractYarnScheduler#getNodeTracker should return generic type to avoid type casting

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.1, 3.1.1
    • Fix Version/s: 3.0.4, 3.1.2, 3.3.0, 3.2.1, 2.9.3
    • Component/s: None
    • Labels:
      None

      Description

      Some warning problems like:

      Unchecked assignment: 'java.util.List' to 'java.util.List<org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode>'. Reason: 'scheduler.getNodeTracker()' has raw type, so result of getNodesByResourceName is erased

        Attachments

        1. YARN-8969.001.patch
          2 kB
          Wanqiang Ji

        Issue Links

          Activity

            People

            • Assignee:
              jiwq Wanqiang Ji
              Reporter:
              jiwq Wanqiang Ji

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment