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

Fix warnings from Spotbugs in hadoop-yarn-client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • Reviewed

    Description

      There 2 findbugs warning in hadoop-yarn-client since switched to spotbugs

      1. Possible exposure of partially initialized object in org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getTimelineDelegationToken()
      2. Useless condition: it's known that isAppFinished == false at this point

      See more info from https://builds.apache.org/job/PreCommit-HADOOP-Build/12157/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-warnings.html

      Attachments

        1. YARN-6520.001.patch
          5 kB
          Weiwei Yang

        Issue Links

          Activity

            People

              cheersyang Weiwei Yang
              cheersyang Weiwei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: