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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • 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. image-2019-04-17-18-22-40-624.png
          344 kB
          Tao Yang
        2. screenshot-1.png
          28 kB
          Tao Yang
        3. YARN-9495.001.patch
          0.9 kB
          Tao Yang
        4. YARN-9495.002.patch
          0.8 kB
          Tao Yang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: