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 183F9DA3A for ; Wed, 3 Oct 2012 00:37:08 +0000 (UTC) Received: (qmail 21736 invoked by uid 500); 3 Oct 2012 00:37:07 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 21545 invoked by uid 500); 3 Oct 2012 00:37:07 -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 21525 invoked by uid 99); 3 Oct 2012 00:37:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 00:37:07 +0000 Date: Wed, 3 Oct 2012 11:37:07 +1100 (NCT) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1070030468.157101.1349224627713.JavaMail.jiratomcat@arcas> In-Reply-To: <1432942215.152128.1349136067837.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HDFS-3995) Use DFSTestUtil.createFile() for file creation and writing in test cases 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-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468217#comment-13468217 ] Jing Zhao commented on HDFS-3995: --------------------------------- The failed test cases seem unrelated: TestPersistBlocks#TestRestartDfsWithFlush -- HDFS-3811 TestNameNodeMetrics#testCorruptBlock -- HDFS-2434 TestBPOfferService#testBasicFunctionality -- HDFS-3930 TestHdfsNativeCodeLoader#testNativeCodeLoaded -- HDFS-3753 > Use DFSTestUtil.createFile() for file creation and writing in test cases > ------------------------------------------------------------------------ > > Key: HDFS-3995 > URL: https://issues.apache.org/jira/browse/HDFS-3995 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 3.0.0 > Reporter: Jing Zhao > Assignee: Jing Zhao > Priority: Minor > Attachments: HDFS-3995.trunk.001.patch > > > Currently there are many tests that define and use their own methods to create file and write some number of blocks in MiniDfsCluster. These methods can be consolidated to DFSTestUtil.createFile(). -- 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