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 C7B3117FE0 for ; Fri, 10 Oct 2014 20:09:34 +0000 (UTC) Received: (qmail 59370 invoked by uid 500); 10 Oct 2014 20:09:34 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 59315 invoked by uid 500); 10 Oct 2014 20:09: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 59302 invoked by uid 500); 10 Oct 2014 20:09:34 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 59299 invoked by uid 99); 10 Oct 2014 20:09:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 20:09:34 +0000 Date: Fri, 10 Oct 2014 20:09:34 +0000 (UTC) From: "Daniel Dai (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-2521) explicit reference to namenode path with streaming results in an error 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-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated PIG-2521: ---------------------------- Fix Version/s: (was: 0.14.0) 0.15.0 > explicit reference to namenode path with streaming results in an error > ---------------------------------------------------------------------- > > Key: PIG-2521 > URL: https://issues.apache.org/jira/browse/PIG-2521 > Project: Pig > Issue Type: Bug > Affects Versions: 0.9.2 > Reporter: Araceli Henley > Priority: Minor > Fix For: 0.15.0 > > > I set this to minor because this test works with client side tables and with old style references. > :::::::::::::: > /grid/2/dev/pigqa/out/pigtest/hadoopqa/hadoopqa.1327441396/dotNext_baseline_15.pig > :::::::::::::: > THIS TEST FAILS. It uses an explicit reference to namenode1 (hdfs://namenode1.domain.com:8020) > define CMD `perl PigStreamingDepend.pl` input(stdin) ship('/homes/araceli/pigtest/pigtest_next/pigharness/dist/pig_harness/libexec/PigTest/PigStreamingDepend.pl', '/homes/araceli/pigtest/pigtest_next/pigharness/dist/pig_harness/libexec/PigTest/PigStreamingModule.pm'); > A = load 'hdfs://namdenode1.domain.com:8020/user/hadoopqa/pig/tests/data'; > B = stream A through `perl PigStreaming.pl`; > C = stream B through CMD as (name, age, gpa); > D = foreach C generate name, age; > store D into 'hdfs://namenode1.domain.com:8020/user/hadoopqa/pig/out1/user/hadoopqa/pig/out/hadoopqa.1327441396/dotNext_baseline_15.out'; > fs -cp hdfs://namenode1.domain.com:8020/user/hadoopqa/pig/out1/user/hadoopqa/pig/out/hadoopqa.1327441396/dotNext_baseline_15.out /user/hadoopqa/pig/out/hadoopqa.1327441396/dotNext_baseline_15.out > :::::::::::::: > /grid/2/dev/pigqa/out/pigtest/hadoopqa/hadoopqa.1327441396/dotNext_baseline_1.pig > :::::::::::::: > This test PASSES. It uses an explicit reference to NN1(hdfs://namenode1.domain.com:8020) for load and store > a = load 'hdfs://namenode1.domain.com:8020/user/hadoopqa/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa); > store a into 'hdfs://namenode1.domain.com:8020/user/hadoopqa/pig/out1/user/hadoopqa/pig/out/hadoopqa.1327441396/dotNext_baseline_1.out' ; > fs -cp hdfs://namenode1.domain.com:8020/user/hadoopqa/pig/out1/user/hadoopqa/pig/out/hadoopqa.1327441396/dotNext_baseline_1.out /user/hadoopqa/pig/out/hadoopqa.1327441396/dotNext_baseline_1.out > THE REMAINING TESTS ARE IDENTICAL EXCEPT FOR THE FILE REFERNCE: explicit vs mount point > :::::::::::::: > /grid/2/dev/pigqa/out/pigtest/hadoopqa/hadoopqa.1327433551/dotNext_baseline_15.pig > :::::::::::::: > This test PASSES. Its the baseline for the test, it uses old style references. > define CMD `perl PigStreamingDepend.pl` input(stdin) ship('/homes/araceli/pigtest/pigtest_next/pigharness/dist/pig_harness/libexec/PigTest/PigStreamingDepend.pl', '/homes/araceli/pigtest/pigtest_next/pigharness/dist/pig_harness/libexec/PigTest/PigStreamingModule.pm'); > A = load '/user/hadoopqa/pig/tests/data'; > B = stream A through `perl PigStreaming.pl`; > C = stream B through CMD as (name, age, gpa); > D = foreach C generate name, age; > store D into '/user/hadoopqa/pig/out/hadoopqa.1327433551/dotNext_baseline_15.out'; > :::::::::::::: > grid/2/dev/pigqa/out/pigtest/hadoopqa/hadoopqa.1327431567/dotNext_baseline_15.pig > :::::::::::::: > This test PASSES. It uses a mount point to namenode 1( /data1 is a mount point for hdfs://namenode1.domain.com:8020/user/hadoopqa/pig/tests/data). > define CMD `perl PigStreamingDepend.pl` input(stdin) ship('/homes/araceli/pigtest/pigtest_next/pigharness/dist/pig_harness/libexec/PigTest/PigStreamingDepend.pl', '/homes/araceli/pigtest/pigtest_next/pigharness/dist/pig_harness/libexec/PigTest/PigStreamingModule.pm'); > A = load '/data1'; > B = stream A through `perl PigStreaming.pl`; > C = stream B through CMD as (name, age, gpa); > D = foreach C generate name, age; > store D into '/out1/user/hadoopqa/pig/out/hadoopqa.1327431567/dotNext_baseline_15.out'; > fs -cp /out1/user/hadoopqa/pig/out/hadoopqa.1327431567/dotNext_baseline_15.out /user/hadoopqa/pig/out/hadoopqa.1327431567/dotNext_baseline_15.out -- This message was sent by Atlassian JIRA (v6.3.4#6332)