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

Fix findbugs warning in FSEditLog.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      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.01.branch-2.patch
          2 kB
          Akira Ajisaka
        2. HDFS-10485.01.patch
          2 kB
          Akira Ajisaka
        3. HDFS-10485.02.branch-2.patch
          2 kB
          Akira Ajisaka
        4. HDFS-10485.03.branch-2.patch
          2 kB
          Akira Ajisaka

          Activity

            People

            • Assignee:
              ajisakaa Akira Ajisaka
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: