hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinghui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7282) TestShortCircuitCache and TestBlockReaderFactory have failures caused by TemporarySocketDirectory getting garbage collected before Datanode starts up accessing the dir causing FileNotFoundException.
Date Thu, 23 Oct 2014 18:34:35 GMT

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

Jinghui Wang updated HDFS-7282:
-------------------------------
    Attachment: HDFS-7282.patch

> TestShortCircuitCache and TestBlockReaderFactory have failures caused by TemporarySocketDirectory
getting garbage collected before Datanode starts up accessing the dir causing FileNotFoundException.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-7282
>                 URL: https://issues.apache.org/jira/browse/HDFS-7282
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.4.1
>            Reporter: Jinghui Wang
>            Assignee: Jinghui Wang
>         Attachments: HDFS-7282.patch
>
>
> TemporarySocketDirectory has finalize method deletes the directory, in TestShortCircuitCache
and TestBlockReaderFactory, the TemporarySocketDirectory created are not refereced later in
the tests, which can get garbage collected (deleted the dir) before Datanode start up accessing
the directory under TemporarySocketDirectory causing FileNotFoundException.



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

Mime
View raw message