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 BFA1210F1A for ; Fri, 26 Dec 2014 08:49:12 +0000 (UTC) Received: (qmail 43909 invoked by uid 500); 26 Dec 2014 08:49:12 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 43858 invoked by uid 500); 26 Dec 2014 08:49:12 -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 43841 invoked by uid 500); 26 Dec 2014 08:49:10 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 43838 invoked by uid 99); 26 Dec 2014 08:49:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2014 08:49:10 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of liyun.zhang@intel.com designates 192.55.52.93 as permitted sender) Received: from [192.55.52.93] (HELO mga11.intel.com) (192.55.52.93) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2014 08:48:44 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 26 Dec 2014 00:47:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,646,1413270000"; d="scan'208,217";a="629338341" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by orsmga001.jf.intel.com with ESMTP; 26 Dec 2014 00:47:40 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 26 Dec 2014 16:47:39 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.216]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.240]) with mapi id 14.03.0195.001; Fri, 26 Dec 2014 16:47:38 +0800 From: "Zhang, Liyun" To: "pig-dev@hadoop.apache.org" Subject: some question about streaming_local.conf Thread-Topic: some question about streaming_local.conf Thread-Index: AdAg6JSXM0kdnL6OTV2X95Z2LFNEAw== Date: Fri, 26 Dec 2014 08:47:37 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: multipart/alternative; boundary="_000_AF9B21681D3EE94AA935901747BE4B8101DB0D55shsmsx102ccrcor_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_AF9B21681D3EE94AA935901747BE4B8101DB0D55shsmsx102ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all: I have 2 questiones about pig/test/e2e/pig/tests/streaming_local.conf: 1. $cfg =3D { 'driver' =3D> 'Pig', 'nummachines' =3D> 5, 'groups' =3D> [ { # This group is for local mode testing 'name' =3D> 'StreamingLocal', 'sortBenchmark' =3D> 1, 'sortResults' =3D> 1, 'floatpostprocess' =3D> 1, 'delimiter' =3D> ' ', 'tests' =3D> [ { #Section 1.1: perl script, no param= eters 'num' =3D> 1, 'execonly' =3D> 'local', // this line 'pig' =3D> q# all e2e test cases are only executed in local mode now. Can these e2e tests= run in other mode, like "mapreduce","tez","spark"? when i replace 'execonly'=3D>'local' with 'execonly'=3D>'spark', all cases = pass when POStream is implemented in spark mode. I think we can remove 'execonly'=3D>'local' and can test these e2e tests in= other modes. 2. when using ship with streaming, it will send streaming binary and suppor= ting files, if any, from the client node to the compute nodes..I found we u= se "perl ./libexec/GroupBy.pl" in StreamingLocal_3.pig, this path is a rela= tive path to current executed path. can we use "perl GroupBy.pl" because i = think the file "./libexec/GroupBy.pl" has been shipped to compute nodes. StreamingLocal_3.pig /test/e2e/pigMD `perl ./libexec/GroupBy.pl '\t' 0` ship('./libexec/GroupBy.= pl'); A =3D load './data/singlefile/studenttab10k'; B =3D group A by $0; C =3D foreach B generate flatten(A); D =3D stream C through CMD; store D into './testout/root-1419582821-streaming_local.conf/StreamingLocal= _3.out'; Best regards Zhang,Liyun --_000_AF9B21681D3EE94AA935901747BE4B8101DB0D55shsmsx102ccrcor_--