Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-786

Fix the findbugs for SCMClientProtocolServer#getContainerWithPipeline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0, 0.4.0
    • None
    • None

    Description

      There is a findbugs warning existing recently(https://builds.apache.org/job/PreCommit-HDDS-Build/1517/artifact/out/branch-findbugs-hadoop-hdds_server-scm-warnings.html).

      Dead store to remoteUser in org.apache.hadoop.hdds.scm.server.SCMClientProtocolServer.getContainerWithPipeline(long)
      Bug type DLS_DEAD_LOCAL_STORE (click for details) 
      In class org.apache.hadoop.hdds.scm.server.SCMClientProtocolServer
      In method org.apache.hadoop.hdds.scm.server.SCMClientProtocolServer.getContainerWithPipeline(long)
      Local variable named remoteUser
      At SCMClientProtocolServer.java:[line 192]
      

      Attachments

        1. HDDS-786.001.patch
          0.8 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: