It hardcoded my working directory. I promise I didn't do that :). Create
PIG-1888 for it.
Daniel
On 03/06/2011 05:16 PM, Dmitriy Ryaboy wrote:
I just pulled trunk, did ant clean + ant test, and I see this test failing.
It seems that there are some hardcoded paths in there:
Failed to generate logical plan for query [define CMD `perl GroupBy.pl '
' 0 1` ship('/homes/jianyong/pig_harness/libexec/PigTest/GroupBy.pl');A =
load '/user/pig/tests/data/singlefile/studenttab10k';B = group A by $0;C =
foreach B { D = order A by $1; generate flatten(D);};E = stream C
through CMD;store E into
'/user/pig/out/jianyong.1297238871/ComputeSpec_8.out';] due to
exception: *Failed
to generate logical plan. Nested exception: java.io.IOException: Invalid
ship specification: '/homes/jianyong/pig_harness/libexec/PigTest/GroupBy.pl'
does not exist!*
junit.framework.AssertionFailedError: Failed to generate logical plan for
query [define CMD `perl GroupBy.pl ' ' 0 1`
ship('/homes/jianyong/pig_harness/libexec/PigTest/GroupBy.pl');A = load
'/user/pig/tests/data/singlefile/studenttab10k';B = group A by $0;C =
foreach B { D = order A by $1; generate flatten(D);};E = stream C
through CMD;store E into
'/user/pig/out/jianyong.1297238871/ComputeSpec_8.out';] due to exception:
Failed to generate logical plan. Nested exception: java.io.IOException:
Invalid ship specification:
'/homes/jianyong/pig_harness/libexec/PigTest/GroupBy.pl' does not exist!
at
org.apache.pig.parser.TestLogicalPlanGenerator.generateLogicalPlan(TestLogicalPlanGenerator.java:70)
at
org.apache.pig.parser.TestLogicalPlanGenerator.test12(TestLogicalPlanGenerator.java:156)