[ https://issues.apache.org/jira/browse/HADOOP-15028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bd17kaka resolved HADOOP-15028. ------------------------------- Resolution: Fixed > Got errors while running org.apache.hadoop.io.TestSequenceFileAppend > -------------------------------------------------------------------- > > Key: HADOOP-15028 > URL: https://issues.apache.org/jira/browse/HADOOP-15028 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.6.4 > Environment: Linux 2.6.32-642.el6.x86_64 > Reporter: bd17kaka > > I ran the test case org.apache.hadoop.io.TestSequenceFileAppend in > branch-2.6.4, I got the following errors: > Running org.apache.hadoop.io.TestSequenceFileAppend > Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.801 sec <<< > FAILURE! - in org.apache.hadoop.io.TestSequenceFileAppend > testAppendBlockCompression(org.apache.hadoop.io.TestSequenceFileAppend) Time > elapsed: 0.117 sec <<< ERROR! > java.io.IOException: File is corrupt! > at > org.apache.hadoop.io.SequenceFile$Reader.readBlock(SequenceFile.java:2179) > at > org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:2583) > at > org.apache.hadoop.io.TestSequenceFileAppend.verifyAll4Values(TestSequenceFileAppend.java:309) > at > org.apache.hadoop.io.TestSequenceFileAppend.testAppendBlockCompression(TestSequenceFileAppend.java:205) > testAppendSort(org.apache.hadoop.io.TestSequenceFileAppend) Time elapsed: > 0.013 sec <<< ERROR! > java.io.IOException: File is corrupt! > at > org.apache.hadoop.io.SequenceFile$Reader.readBlock(SequenceFile.java:2179) > at > org.apache.hadoop.io.SequenceFile$Reader.nextRaw(SequenceFile.java:2488) > at > org.apache.hadoop.io.SequenceFile$Sorter$SortPass.run(SequenceFile.java:2923) > at > org.apache.hadoop.io.SequenceFile$Sorter.sortPass(SequenceFile.java:2861) > at > org.apache.hadoop.io.SequenceFile$Sorter.sort(SequenceFile.java:2809) > at > org.apache.hadoop.io.SequenceFile$Sorter.sort(SequenceFile.java:2850) > at > org.apache.hadoop.io.TestSequenceFileAppend.testAppendSort(TestSequenceFileAppend.java:286) > But everything is OK in branch-2.6.5.. > The maven command is 'mvn test -Pnative -Dtest=TestSequenceFileAppend' -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org