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

Fix findbugs warning in FSEditLog.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      Found 1 findbugs warning when creating a patch for branch-2 in HDFS-10341 (https://builds.apache.org/job/PreCommit-HDFS-Build/15639/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html)

      Inconsistent synchronization of org.apache.hadoop.hdfs.server.namenode.FSEditLog.numTransactionsBatchedInSync; locked 50% of time
      Bug type IS2_INCONSISTENT_SYNC (click for details) 
      In class org.apache.hadoop.hdfs.server.namenode.FSEditLog
      Field org.apache.hadoop.hdfs.server.namenode.FSEditLog.numTransactionsBatchedInSync
      Synchronized 50% of the time
      Unsynchronized access at FSEditLog.java:[line 676]
      Unsynchronized access at FSEditLog.java:[line 676]
      Synchronized access at FSEditLog.java:[line 1254]
      Synchronized access at FSEditLog.java:[line 716]
      

      Attachments

        1. HDFS-10485.03.branch-2.patch
          2 kB
          Akira Ajisaka
        2. HDFS-10485.02.branch-2.patch
          2 kB
          Akira Ajisaka
        3. HDFS-10485.01.patch
          2 kB
          Akira Ajisaka
        4. HDFS-10485.01.branch-2.patch
          2 kB
          Akira Ajisaka

        Activity

          People

            aajisaka Akira Ajisaka
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: