[
https://issues.apache.org/jira/browse/PIG-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Gates updated PIG-2954:
----------------------------
Status: Open (was: Patch Available)
This patch works fine on Linux. But when I run it on Windows it causes
TestParamSubPreproc to have 4 errors. Without the patch TestParamSubPreproc
passes on Windows. Three of the tests fail with:
{code}
Got error : Parameter substitution for a command with shell command failed.
Expected : aa = load
'/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228'
using PigStorage('\x01'); , but got : aa = load
'/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228 in
line num : 5 expected:<...' using PigStorage('\x01');> but was:<...>^M
junit.framework.AssertionFailedError: Got error : Parameter substitution for a
command with shell command failed. Expected : aa = load
'/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228'
using PigStorage('\x01'); , but got : aa = load
'/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228 in
line num : 5 expected:<...' using PigStorage('\x01');> but was:<...>^M
at
org.apache.pig.test.TestParamSubPreproc.testCmdnameAsParamDeclare(TestParamSubPreproc.java:448)^M
{code}
One of the failures is:
{code}
Got RuntimeException : Error executing shell command: perl -e "print qq@20080228
20070101@" | head -n 1. Command exit with exit code of 255^M
junit.framework.AssertionFailedError: Got RuntimeException : Error executing
shell command: perl -e "print qq@20080228^M
20070101@" | head -n 1. Command exit with exit code of 255^M
at
org.apache.pig.test.TestParamSubPreproc.testCmdlineParamWithInlineCmd(TestParamSubPreproc.java:1238)^M
{code}
> TestParamSubPreproc still depends on "bash" to run
> ----------------------------------------------------
>
> Key: PIG-2954
> URL: https://issues.apache.org/jira/browse/PIG-2954
> Project: Pig
> Issue Type: Sub-task
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.11
>
> Attachments: PIG-2954-1.patch, PIG-2954-2.patch
>
>
> If bash is not exist in path, there are 3 test failures.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira