hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7741) Remove unnecessary synchronized in FSDataInputStream and HdfsDataInputStream
Date Fri, 06 Feb 2015 02:30:34 GMT

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

Colin Patrick McCabe commented on HDFS-7741:
--------------------------------------------

+1 pending jenkins.  The locking on the wrapper streams adds nothing here, since we lock inside
DFSInputStream.  Thanks, Yi.

> Remove unnecessary synchronized in FSDataInputStream and HdfsDataInputStream
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-7741
>                 URL: https://issues.apache.org/jira/browse/HDFS-7741
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>            Priority: Minor
>         Attachments: HDFS-7741.001.patch
>
>
> The {{synchronized}} for {{HdfsDataInputStream#getAllBlocks}} and {{FSDataInputStream#seek}}
are unnecessary.



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

Mime
View raw message