hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4844) Counters / AbstractCounters have constant references not declared final
Date Fri, 03 Apr 2015 17:45:54 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394755#comment-14394755
] 

Hudson commented on MAPREDUCE-4844:
-----------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #7506 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7506/])
MAPREDUCE-4844. Counters / AbstractCounters have constant references not declared final. (Brahma
Reddy Battula via gera) (gera: rev a0795c1e81685b812288cf2f4df6f8d23da30ab8)
* hadoop-mapreduce-project/CHANGES.txt
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java


> Counters / AbstractCounters have constant references not declared final
> -----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4844
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4844
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.6.0
>            Reporter: Gera Shegalov
>            Assignee: Brahma Reddy Battula
>         Attachments: MAPREDUCE-4844-002.patch, MAPREDUCE-4844-002.patch, MAPREDUCE-4844-branch-1.patch
>
>
> Counters have a number of immutable fields that have not been declared 'final'.
> For example, the field groups is not final. It is, however, accessed in a couple of methods
that are declared 'synchronized'. While there is a happens-before relationship between these
methods calls, there is none between the Counters object initialization and these synchronized
methods.



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

Mime
View raw message