hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10485) Fix findbugs warning in FSEditLog.java in branch-2
Date Fri, 03 Jun 2016 16:44:59 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira AJISAKA updated HDFS-10485:
---------------------------------
    Attachment: HDFS-10485.01.branch-2.patch

Attaching a patch to use AtomicLong for numTransactionBatchedInSync instead of long. This
patch applies to trunk as well.

> Fix findbugs warning in FSEditLog.java in branch-2
> --------------------------------------------------
>
>                 Key: HDFS-10485
>                 URL: https://issues.apache.org/jira/browse/HDFS-10485
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Akira AJISAKA
>         Attachments: HDFS-10485.01.branch-2.patch
>
>
> 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)
> {noformat}
> 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]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message