hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2800) HA: TestStandbyCheckpoints.testCheckpointCancellation is racy
Date Thu, 17 May 2012 05:55:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277592#comment-13277592
] 

Todd Lipcon commented on HDFS-2800:
-----------------------------------

The test failure seems due to HADOOP-8406 - note this in the logs:
{code}
java.util.NoSuchElementException
	at sun.misc.CompoundEnumeration.nextElement(CompoundEnumeration.java:41)
	at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:332)
	at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:415)
	at org.apache.hadoop.io.compress.CompressionCodecFactory.getCodecClasses(CompressionCodecFactory.java:112)
	at org.apache.hadoop.io.compress.CompressionCodecFactory.<init>(CompressionCodecFactory.java:170)
	at org.apache.hadoop.hdfs.server.namenode.FSImageCompression.createCompression(FSImageCompression.java:96)
	at org.apache.hadoop.hdfs.server.namenode.FSImageCompression.createCompression(FSImageCompression.java:85)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.saveFSImage(FSImage.java:753)
	at org.apache.hadoop.hdfs.server.namenode.FSImage$FSImageSaver.run(FSImage.java:782)
{code}

Will re-submit the patch and also address Eli's nit.
                
> HA: TestStandbyCheckpoints.testCheckpointCancellation is racy
> -------------------------------------------------------------
>
>                 Key: HDFS-2800
>                 URL: https://issues.apache.org/jira/browse/HDFS-2800
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha, test
>    Affects Versions: 2.0.0
>            Reporter: Aaron T. Myers
>            Assignee: Todd Lipcon
>         Attachments: hdfs-2800.txt, hdfs-2800.txt
>
>
> TestStandbyCheckpoints.testCheckpointCancellation is racy, have seen the following assert
on line 212 fail:
> {code}
> assertTrue(StandbyCheckpointer.getCanceledCount() > 0);
> {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

        

Mime
View raw message