[ https://issues.apache.org/jira/browse/HADOOP-8692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Robinson updated HADOOP-8692: ------------------------------------ Component/s: test > TestLocalDirAllocator fails intermittently with JDK7 > ---------------------------------------------------- > > Key: HADOOP-8692 > URL: https://issues.apache.org/jira/browse/HADOOP-8692 > Project: Hadoop Common > Issue Type: Bug > Components: test > Environment: Apache Maven 3.0.4 > Maven home: /usr/share/maven > Java version: 1.7.0_04, vendor: Oracle Corporation > Java home: /usr/lib/jvm/jdk1.7.0_04/jre > Default locale: en_US, platform encoding: ISO-8859-1 > OS name: "linux", version: "3.2.0-25-generic", arch: "amd64", family: "unix" > Reporter: Trevor Robinson > Assignee: Trevor Robinson > Attachments: HADOOP-8692.patch > > > Failed tests: test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): > Checking for build/test/temp/RELATIVE1 in > build/test/temp/RELATIVE0/block2860496281880890121.tmp - FAILED! > test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for > /data/md0/hadoop-common/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1 > in > /data/md0/hadoop-common/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block7540717865042594902.tmp > - FAILED! > test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for > file:/data/md0/hadoop-common/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1 > in > /data/md0/hadoop-common/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block591739547204821805.tmp > - FAILED! > The recently added {{testRemoveContext()}} (MAPREDUCE-4379) does not clean up > after itself, so if it runs before test0 (due to undefined test ordering on > JDK7), test0 fails. This can be fixed by wrapping it with {code}try { ... } > finally { rmBufferDirs(); }{code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira