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 1F34E11892 for ; Wed, 23 Jul 2014 06:20:39 +0000 (UTC) Received: (qmail 38830 invoked by uid 500); 23 Jul 2014 06:20:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 38771 invoked by uid 500); 23 Jul 2014 06:20:38 -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 38758 invoked by uid 99); 23 Jul 2014 06:20:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 06:20:38 +0000 Date: Wed, 23 Jul 2014 06:20:38 +0000 (UTC) From: "Yongjun Zhang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6719) org.apache.hadoop.fs.TestDFVariations.testMount failed intermittently because specified path doesn't exist 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-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071405#comment-14071405 ] Yongjun Zhang commented on HDFS-6719: ------------------------------------- I think I found the root cause of this "intermittent" failure: the test root dir set with system property "test.build.data" is not created by this test, as it is supposed to do. And the reason that it can succeed often is because all tests are run together, the test root dir used by this test is actually created by other test. It fails sometimes because the test root dir can be removed by some tests (depending on the order that the tests are run). So the solution is to create the test root. Posted patch 004. > org.apache.hadoop.fs.TestDFVariations.testMount failed intermittently because specified path doesn't exist > ---------------------------------------------------------------------------------------------------------- > > Key: HDFS-6719 > URL: https://issues.apache.org/jira/browse/HDFS-6719 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Yongjun Zhang > Assignee: Yongjun Zhang > Attachments: HDFS-6719.001.dbg.patch, HDFS-6719.002.dbg.patch, HDFS-6719.003.dbg.patch, HDFS-6719.004.dbg.patch, HDFS-6719.005.patch > > > Failure message: > {code} > Error Message > Specified path /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-common-project/hadoop-common/target/test/datadoes not exist > Stacktrace > java.io.FileNotFoundException: Specified path /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-common-project/hadoop-common/target/test/datadoes not exist > at org.apache.hadoop.fs.DF.getMount(DF.java:109) > at org.apache.hadoop.fs.TestDFVariations.testMount(TestDFVariations.java:54) > Standard Output > java.io.IOException: Fewer lines of output than expected: Filesystem 1K-blocks Used Available Use% Mounted on > java.io.IOException: Unexpected empty line > java.io.IOException: Could not parse line: 19222656 10597036 7649060 59% / > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)