hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6075) HistoryServerFileSystemStateStore can create zero-length files
Date Fri, 05 Sep 2014 22:31:32 GMT

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

Jason Lowe updated MAPREDUCE-6075:
----------------------------------
    Attachment: MAPREDUCE-6075.patch

Patch to call close() before IOUtils.cleanup so we don't silently swallow close exceptions
unless we're already processing another exception.

> HistoryServerFileSystemStateStore can create zero-length files
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-6075
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6075
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 2.3.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: MAPREDUCE-6075.patch
>
>
> When the history server state store writes a token file it uses IOUtils.cleanup() to
close the file which will silently ignore errors.  This can lead to empty token files in the
state store.



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

Mime
View raw message