Return-Path: Delivered-To: apmail-pig-commits-archive@www.apache.org Received: (qmail 45948 invoked from network); 5 Oct 2010 17:23:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Oct 2010 17:23:02 -0000 Received: (qmail 14578 invoked by uid 500); 5 Oct 2010 17:23:02 -0000 Delivered-To: apmail-pig-commits-archive@pig.apache.org Received: (qmail 14522 invoked by uid 500); 5 Oct 2010 17:23:01 -0000 Mailing-List: contact commits-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 commits@pig.apache.org Received: (qmail 14515 invoked by uid 500); 5 Oct 2010 17:23:01 -0000 Delivered-To: apmail-hadoop-pig-commits@hadoop.apache.org Received: (qmail 14512 invoked by uid 500); 5 Oct 2010 17:23:01 -0000 Delivered-To: apmail-incubator-pig-commits@incubator.apache.org Received: (qmail 14509 invoked by uid 99); 5 Oct 2010 17:23:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 17:23:01 +0000 X-ASF-Spam-Status: No, hits=-1997.7 required=10.0 tests=ALL_TRUSTED,SUBJECT_DRUG_GAP_L X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 17:22:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 692CD23889C5; Tue, 5 Oct 2010 17:22:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1004721 - /hadoop/pig/branches/branch-0.8/test/org/apache/pig/test/TestInputOutputFileValidator.java Date: Tue, 05 Oct 2010 17:22:38 -0000 To: pig-commits@incubator.apache.org From: daijy@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101005172238.692CD23889C5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: daijy Date: Tue Oct 5 17:22:38 2010 New Revision: 1004721 URL: http://svn.apache.org/viewvc?rev=1004721&view=rev Log: Fix TestInputOutputFileValidator failure introduced by PIG-1659 Modified: hadoop/pig/branches/branch-0.8/test/org/apache/pig/test/TestInputOutputFileValidator.java Modified: hadoop/pig/branches/branch-0.8/test/org/apache/pig/test/TestInputOutputFileValidator.java URL: http://svn.apache.org/viewvc/hadoop/pig/branches/branch-0.8/test/org/apache/pig/test/TestInputOutputFileValidator.java?rev=1004721&r1=1004720&r2=1004721&view=diff ============================================================================== --- hadoop/pig/branches/branch-0.8/test/org/apache/pig/test/TestInputOutputFileValidator.java (original) +++ hadoop/pig/branches/branch-0.8/test/org/apache/pig/test/TestInputOutputFileValidator.java Tue Oct 5 17:22:38 2010 @@ -28,6 +28,7 @@ import org.apache.pig.PigServer; import org.apache.pig.ResourceSchema; import org.apache.pig.backend.datastorage.DataStorage; import org.apache.pig.backend.datastorage.ElementDescriptor; +import org.apache.pig.backend.executionengine.ExecException; import org.apache.pig.backend.hadoop.datastorage.ConfigurationUtil; import org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil; import org.apache.pig.builtin.PigStorage; @@ -261,7 +262,7 @@ public class TestInputOutputFileValidato pig.executeBatch(); assert false; }catch(Exception fe){ - assertTrue(fe instanceof PlanValidationException); + assertTrue(fe instanceof ExecException); PigException pe = LogUtils.getPigException(fe); assertTrue(pe instanceof FrontendException); assertEquals(1115, pe.getErrorCode());