You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/04/13 20:47:12 UTC

[jira] [Updated] (ACCUMULO-3722) DFSInputStream being closed multiple times

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

Christopher Tubbs updated ACCUMULO-3722:
----------------------------------------
    Attachment: 0001-ACCUMULO-3722-Synchronize-check-for-closed-BlockRead.patch

Could it be that {{BCFile$BlockReader.close()}} does not check {{closed}} in a thread-safe way before trying to call {{rBlkState.finish()}} (which tries to close the underlying input stream)?

I've attached [^0001-ACCUMULO-3722-Synchronize-check-for-closed-BlockRead.patch|a patch] to test (sorry, I'm not really set up to test this myself, right now).

> DFSInputStream being closed multiple times
> ------------------------------------------
>
>                 Key: ACCUMULO-3722
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3722
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>            Reporter: Josh Elser
>            Priority: Minor
>             Fix For: 1.6.3, 1.8.0, 1.7.1
>
>         Attachments: 0001-ACCUMULO-3722-Synchronize-check-for-closed-BlockRead.patch
>
>
> Running on top of Hadoop 2.7.0-SNAPSHOT (or a version with HDFS-7494 applied), will result in lots of warnings from DFSInputStream in the TabletServer.
> {noformat}
> 2015-04-10 13:03:21,220 [hdfs.DFSClient] WARN : DFSInputStream has been closed already
> {noformat}
> We should figure out why we're closing the input stream multiple times and stop doing that.



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