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

Fix Multithreaded correctness Warnings in BackupImage.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

      Inconsistent synchronization of org.apache.hadoop.hdfs.server.namenode.BackupImage.namesystem; locked 60% of time

      Bug type IS2_INCONSISTENT_SYNC (click for details) 
      In class org.apache.hadoop.hdfs.server.namenode.BackupImage
      Field org.apache.hadoop.hdfs.server.namenode.BackupImage.namesystem
      Synchronized 60% of the time
      Unsynchronized access at BackupImage.java:[line 97]
      Unsynchronized access at BackupImage.java:[line 261]
      Synchronized access at BackupImage.java:[line 197]
      Synchronized access at BackupImage.java:[line 212]
      Synchronized access at BackupImage.java:[line 295]
      

      https://builds.apache.org/job/PreCommit-HDFS-Build/9493//artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html#Details

      Attachments

        1. HDFS-7753.patch
          2 kB
          Rakesh Radhakrishnan
        2. HDFS-7753-02.patch
          2 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: