Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10245

Fix the findbug warnings in branch-2.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.2
    • 2.7.3
    • None
    • None
    • Reviewed

    Description

      Link

      https://builds.apache.org/job/PreCommit-HDFS-Build/15036/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html

      Following seen in HDFS-9917 jenkins run.

      Code	Warning
      IS	Inconsistent synchronization of org.apache.hadoop.hdfs.DFSOutputStream.streamer; locked 85% of time
      Bug type IS2_INCONSISTENT_SYNC (click for details) 
      In class org.apache.hadoop.hdfs.DFSOutputStream
      Field org.apache.hadoop.hdfs.DFSOutputStream.streamer
      Synchronized 85% of the time
      Unsynchronized access at DFSOutputStream.java:[line 2372]
      Unsynchronized access at DFSOutputStream.java:[line 2390]
      Unsynchronized access at DFSOutputStream.java:[line 1722]
      Synchronized access at DFSOutputStream.java:[line 2178]
      Synchronized access at DFSOutputStream.java:[line 2100]
      Synchronized access at DFSOutputStream.java:[line 2103]
      Synchronized access at DFSOutputStream.java:[line 2264]
      Synchronized access at DFSOutputStream.java:[line 1555]
      Synchronized access at DFSOutputStream.java:[line 1558]
      Synchronized access at DFSOutputStream.java:[line 2166]
      Synchronized access at DFSOutputStream.java:[line 2208]
      Synchronized access at DFSOutputStream.java:[line 2216]
      Synchronized access at DFSOutputStream.java:[line 2209]
      Synchronized access at DFSOutputStream.java:[line 2216]
      Synchronized access at DFSOutputStream.java:[line 2037]
      Synchronized access at DFSOutputStream.java:[line 2037]
      Synchronized access at DFSOutputStream.java:[line 2038]
      Synchronized access at DFSOutputStream.java:[line 2062]
      Synchronized access at DFSOutputStream.java:[line 2063]
      Synchronized access at DFSOutputStream.java:[line 2355]
      

      Attachments

        1. HDFS-10245-branch-2.7-002.patch
          2 kB
          Brahma Reddy Battula
        2. HDFS-10245-branch-2.7.patch
          1 kB
          Brahma Reddy Battula
        3. HDFS-10245-002-branch-2.7.patch
          2 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: