Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 AD29D66F9 for ; Sun, 26 Jun 2011 17:56:11 +0000 (UTC) Received: (qmail 95670 invoked by uid 500); 26 Jun 2011 17:56:11 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 95643 invoked by uid 500); 26 Jun 2011 17:56:11 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 95627 invoked by uid 99); 26 Jun 2011 17:56:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 17:56:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 17:56:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 951CA4321E8 for ; Sun, 26 Jun 2011 17:55:47 +0000 (UTC) Date: Sun, 26 Jun 2011 17:55:47 +0000 (UTC) From: "Jim Plush (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <925398659.41699.1309110947607.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2623) Update ClusterMapReduceTestCase to use MiniDFSCluster.Builder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Update ClusterMapReduceTestCase to use MiniDFSCluster.Builder ------------------------------------------------------------- Key: MAPREDUCE-2623 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2623 Project: Hadoop Map/Reduce Issue Type: Task Components: test Affects Versions: 0.23.0 Reporter: Jim Plush Priority: Minor Looking at test class ClusterMapReduceTestCase it issues a warning that the dfsCluster = new MiniDFSCluster(conf, 2, reformatDFS, null); line of code is deprecated and MiniDFSCluster.Builder should be used instead. It notes that the current API will be phased out in version 24. I propose to update the test class to the most up to date code as it's referenced several places on the internet as an example of how to write a Hadoop Unit Test. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira