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

Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource
      The warning message is

      Unchecked/unconfirmed cast from org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt to org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode.reserveResource(SchedulerApplicationAttempt, Priority, RMContainer)
      

      The code which cause the warning is

          this.reservedAppSchedulable = (FSAppAttempt) application;
      

        Attachments

        1. YARN-3341.001.patch
          4 kB
          Zhihai Xu
        2. YARN-3341.000.patch
          1 kB
          Zhihai Xu

        Issue Links

          Activity

            People

            • Assignee:
              zxu Zhihai Xu
              Reporter:
              zxu Zhihai Xu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment