Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86780D0C4 for ; Wed, 17 Oct 2012 03:56:09 +0000 (UTC) Received: (qmail 21288 invoked by uid 500); 17 Oct 2012 03:56:09 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 20973 invoked by uid 500); 17 Oct 2012 03:56:06 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 20912 invoked by uid 99); 17 Oct 2012 03:56:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 03:56:03 +0000 Date: Wed, 17 Oct 2012 03:56:03 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <999469503.55640.1350446163977.JavaMail.jiratomcat@arcas> In-Reply-To: <284322003.49386.1350355023041.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HDFS-4060) TestHSync#testSequenceFileSync failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477584#comment-13477584 ] Lars Hofhansl commented on HDFS-4060: ------------------------------------- The sync to disk is not actually on a synchronous path as seen from the client, so there is a short race that the client returns but the metric was not updated. See HDFS-3979, which would fix the issue, but appears to be stuck in discussion about what extra tests it would need, if any. > TestHSync#testSequenceFileSync failed > ------------------------------------- > > Key: HDFS-4060 > URL: https://issues.apache.org/jira/browse/HDFS-4060 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Eli Collins > Labels: test-fail > > TestHSync#testSequenceFileSync failed in the pre commit run of HDFS-4055. > {noformat} > java.lang.AssertionError: Bad value for metric FsyncCount expected:<2> but was:<1> > at org.junit.Assert.fail(Assert.java:91) > at org.junit.Assert.failNotEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:126) > at org.junit.Assert.assertEquals(Assert.java:470) > at org.apache.hadoop.test.MetricsAsserts.assertCounter(MetricsAsserts.java:228) > at org.apache.hadoop.hdfs.server.datanode.TestHSync.checkSyncMetric(TestHSync.java:46) > at org.apache.hadoop.hdfs.server.datanode.TestHSync.checkSyncMetric(TestHSync.java:49) > at org.apache.hadoop.hdfs.server.datanode.TestHSync.testSequenceFileSync(TestHSync.java:158) > {noformat} -- 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