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

Fix findbugs warnings in hadoop-yarn-server-resourcemanager module

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Recently there are 2 extant Findbugs warnings in hadoop-yarn-server-resourcemanager module according to the jenkins report of YARN-9439/YARN-9440 as follow:

      They seems not expect null input for com.google.common.util.concurrent.SettableFuture#set even through they are indeed declared as Nullable, perhaps since findbugs can support javax.annotation.Nullable but not org.checkerframework.checker.nullness.qual.Nullable.
      I think we should exclude these two warnings through adding them into hadoop-yarn/dev-support/findbugs-exclude.xml.

        Attachments

        1. YARN-9495.002.patch
          0.8 kB
          Tao Yang
        2. YARN-9495.001.patch
          0.9 kB
          Tao Yang
        3. screenshot-1.png
          28 kB
          Tao Yang
        4. image-2019-04-17-18-22-40-624.png
          344 kB
          Tao Yang

          Issue Links

            Activity

              People

              • Assignee:
                Tao Yang Tao Yang
                Reporter:
                Tao Yang Tao Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: