Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C7481DD81 for ; Wed, 20 Feb 2013 19:47:14 +0000 (UTC) Received: (qmail 23037 invoked by uid 500); 20 Feb 2013 19:47:13 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 22973 invoked by uid 500); 20 Feb 2013 19:47:13 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 22839 invoked by uid 500); 20 Feb 2013 19:47:13 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 22817 invoked by uid 99); 20 Feb 2013 19:47:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 19:47:13 +0000 Date: Wed, 20 Feb 2013 19:47:13 +0000 (UTC) From: "Prashant Kommireddi (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-3200) MiniCluster should delete hadoop-site.xml on shutDown 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/PIG-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prashant Kommireddi updated PIG-3200: ------------------------------------- Patch Info: Patch Available > MiniCluster should delete hadoop-site.xml on shutDown > ----------------------------------------------------- > > Key: PIG-3200 > URL: https://issues.apache.org/jira/browse/PIG-3200 > Project: Pig > Issue Type: Bug > Affects Versions: 0.10.0 > Reporter: Prashant Kommireddi > Assignee: Prashant Kommireddi > Labels: test > Fix For: 0.12 > > Attachments: PIG-3200.patch > > > MiniCluster creates hadoop-site.xml under build/classes which is used by Pig tests in creating a (mini) hadoop cluster to run against. > MiniCluster.buildCluster() deletes this file from previous run before re-generating it. However, this config file is not deleted when mini-cluster is shutdown. This can sometimes lead to unpredictable behavior when hadoop-site.xml is not expected on classpath (See PIG-3135). > The cleanest operation would be to delete this file when the mini-cluster is shutdown. > Here is a more detailed explanation of the issue > https://issues.apache.org/jira/browse/PIG-3135?focusedCommentId=13581825&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13581825 -- 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