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 369DE17414 for ; Tue, 10 Feb 2015 03:39:35 +0000 (UTC) Received: (qmail 3253 invoked by uid 500); 10 Feb 2015 03:39:35 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 3196 invoked by uid 500); 10 Feb 2015 03:39:34 -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 3183 invoked by uid 500); 10 Feb 2015 03:39:34 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 3180 invoked by uid 99); 10 Feb 2015 03:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 03:39:34 +0000 Date: Tue, 10 Feb 2015 03:39:34 +0000 (UTC) From: "Mohit Sabharwal (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PIG-4374) Add SparkPlan in spark package 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-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313483#comment-14313483 ] Mohit Sabharwal commented on PIG-4374: -------------------------------------- Could you update the patch on RB as well? > Add SparkPlan in spark package > ------------------------------ > > Key: PIG-4374 > URL: https://issues.apache.org/jira/browse/PIG-4374 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: liyunzhang_intel > Assignee: liyunzhang_intel > Attachments: PIG-4374_1.patch, PIG-4374_2.patch.1, PIG-4374_3.patch.1, PIG-4374_4.patch, PIG-4374_4.patch_Jenkins_result.png, Pig-spark #76 [Jenkins .png, jenkins_PIG-4374_1_patch.png.png > > > in current code, there are following class in mapreduce and tez package. > mapreduce: > MRCompiler > MROperPlan MROpPlanVisitor > MapReduceOper > tez: > TezCompiler > TezOperPlan TezOpPlanVisitor > TezOperator > Following class needs to be added in spark package: > SparkCompiler > SparkOperPlan SparkOpPlanVisitor > SparkOperator > Current code need to be refactored because of above adding classes. Some unit tests like TestStoreInstances fail because of it. > following are the error of unit test TestStoreInstances: > Error Message > num jobs expected:<1> but was:<0> > Stacktrace > junit.framework.AssertionFailedError: num jobs expected:<1> but was:<0> > at org.apache.pig.test.TestStoreInstances.testBackendStoreCommunication(TestStoreInstances.java:122) -- This message was sent by Atlassian JIRA (v6.3.4#6332)