[ https://issues.apache.org/jira/browse/HDFS-4906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687845#comment-13687845 ]
Hudson commented on HDFS-4906: ------------------------------ Integrated in Hadoop-Yarn-trunk #245 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/245/]) HDFS-4906. HDFS Output streams should not accept writes after being closed. Contributed by Aaron T. Myers. (Revision 1494303) Result = FAILURE atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1494303 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFs.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSOutputSummer.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestClose.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestMultiThreadedHflush.java > HDFS Output streams should not accept writes after being closed > --------------------------------------------------------------- > > Key: HDFS-4906 > URL: https://issues.apache.org/jira/browse/HDFS-4906 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs-client > Affects Versions: 2.0.5-alpha > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Fix For: 2.1.0-beta > > Attachments: HDFS-4906.patch, HDFS-4906.patch, HDFS-4906.patch, > HDFS-4906.patch, HDFS-4906.patch > > > Currently if one closes an OutputStream obtained from FileSystem#create and > then calls write(...) on that closed stream, the write will appear to succeed > without error though no data will be written to HDFS. A subsequent call to > close will also silently appear to succeed. We should make it so that > attempts to write to closed streams fails fast. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira