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

Ted Yu commented on HDFS-7494:
------------------------------

Not sure why core test failure was reported.
>From Precommit output:
{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:42 min
[INFO] Finished at: 2014-12-13T01:57:03+00:00
[INFO] Final Memory: 91M/1390M
{code}

> Checking of closed in DFSInputStream#pread() should be protected by 
> synchronization
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-7494
>                 URL: https://issues.apache.org/jira/browse/HDFS-7494
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: hdfs-7494-001.patch, hdfs-7494-002.patch
>
>
> {code}
>   private int pread(long position, byte[] buffer, int offset, int length)
>       throws IOException {
>     // sanity checks
>     dfsClient.checkOpen();
>     if (closed) {
> {code}
> Checking of closed should be protected by holding lock on 
> "DFSInputStream.this"



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

Reply via email to