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

Fix findbugs warning:BC_UNCONFIRMED_CAST at FSSchedulerNode.reserveResource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    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

              zxu Zhihai Xu
              zxu Zhihai Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: