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

Fix warnings from Spotbugs in hadoop-yarn-client

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      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

            • Assignee:
              cheersyang Weiwei Yang
              Reporter:
              cheersyang Weiwei Yang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment