[ https://issues.apache.org/jira/browse/HDFS-5993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908077#comment-13908077 ]
Yongjun Zhang commented on HDFS-5993: ------------------------------------- Hi [~cnauroth] and [~wheat9], FYI, I found that the following commit introduced the problem I reported in this bug. Author: Chris Nauroth <cnaur...@apache.org> 2014-02-20 10:58:10 Committer: Chris Nauroth <cnaur...@apache.org> 2014-02-20 10:58:10 Parent: b064cefdc1154dfa335c538654f1d5e287cc0cbc (Move HDFS-5768 and HDFS-5775 to Section 2.4.0 in CHANGES.txt) Child: d926e51bdc27f08e916534567a1edcfd994e2784 (YARN-1736. FS: AppSchedulable.assignContainer's priority argument is redundant. (Naren Koneru via kasha)) Child: 0000000000000000000000000000000000000000 (Local uncommitted changes, not checked in to index) Branches: hdfs5939rb, nrb, remotes/apache/trunk, testv3, tt2, tttt Follows: testv12 Precedes: HADOOP-10328. loadGenerator exit code is not reliable. Contributed by Haohui Mai. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1570304 13f79535-47bb-0310-9956-ffa450edef68 Thanks. > org.apache.hadoop.fs.loadGenerator.TestLoadGenerator failure in trunk > --------------------------------------------------------------------- > > Key: HDFS-5993 > URL: https://issues.apache.org/jira/browse/HDFS-5993 > Project: Hadoop HDFS > Issue Type: Bug > Environment: CentOS release 6.5 (Final) > cpe:/o:centos:linux:6:GA > Reporter: Yongjun Zhang > > With today's latest trunk at > commit d926e51bdc27f08e916534567a1edcfd994e2784 > When running it locally, I can consistently see the following test fails as: > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.hadoop.fs.loadGenerator.TestLoadGenerator > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.888 sec > <<< FAILURE! - in org.apache.hadoop.fs.loadGenerator.TestLoadGenerator > testLoadGenerator(org.apache.hadoop.fs.loadGenerator.TestLoadGenerator) Time > elapsed: 14.285 sec <<< ERROR! > java.io.IOException: Stream closed > at java.io.BufferedReader.ensureOpen(BufferedReader.java:115) > at java.io.BufferedReader.readLine(BufferedReader.java:310) > at java.io.BufferedReader.readLine(BufferedReader.java:382) > at > org.apache.hadoop.fs.loadGenerator.LoadGenerator.loadScriptFile(LoadGenerator.java:511) > at > org.apache.hadoop.fs.loadGenerator.LoadGenerator.init(LoadGenerator.java:418) > at > org.apache.hadoop.fs.loadGenerator.LoadGenerator.run(LoadGenerator.java:324) > at > org.apache.hadoop.fs.loadGenerator.TestLoadGenerator.testLoadGenerator(TestLoadGenerator.java:231) > Results : > Tests in error: > TestLoadGenerator.testLoadGenerator:231 ยป IO Stream closed > This failure is also reported in one upstream test for HDFS-5939 patch. > (I can see the same problem locally without applying this patch). -- This message was sent by Atlassian JIRA (v6.1.5#6160)