accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3722) DFSInputStream being closed multiple times
Date Mon, 13 Apr 2015 18:47:12 GMT

     [ 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)

Mime
View raw message