You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/11/14 22:27:33 UTC
[jira] [Created] (HDFS-7399) Lack of synchronization in
DFSOutputStream#Packet#getLastByteOffsetBlock()
Ted Yu created HDFS-7399:
----------------------------
Summary: Lack of synchronization in DFSOutputStream#Packet#getLastByteOffsetBlock()
Key: HDFS-7399
URL: https://issues.apache.org/jira/browse/HDFS-7399
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
{code}
long getLastByteOffsetBlock() {
return offsetInBlock + dataPos - dataStart;
{code}
Access to fields of Packet.this should be protected by synchronization as done in other methods such as writeTo().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)