[ https://issues.apache.org/jira/browse/MAPREDUCE-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127748#comment-14127748 ]
Tsuyoshi OZAWA commented on MAPREDUCE-6075: ------------------------------------------- [~daryn], thanks for your point, you're right. +1(non-binding) for Jason's change. http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html > 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)