[
https://issues.apache.org/jira/browse/PIG-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941105#comment-13941105
]
Daniel Dai commented on PIG-3819:
---------------------------------
Sorry, Jira eats my _ character. I mean "$\_" has been interpreted. My guess is
Hadoop will invoke bash, and bash does the variable substitution. Yes, if user
using "$\_" will find it does not work in Hadoop 2. We shall ask user to use
single quote instead of double quote. I am not sure how hard it is to fix on
Hadoop 2 side, but if you want, I can talk with Hadoop folks.
> e2e tests containing "perl -e "print $_;" fails on Hadoop 2
> -----------------------------------------------------------
>
> Key: PIG-3819
> URL: https://issues.apache.org/jira/browse/PIG-3819
> Project: Pig
> Issue Type: Bug
> Components: impl
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.12.1, 0.13.0
>
> Attachments: PIG-3819-1.patch
>
>
> Before submitting to Hadoop, "$_" will be interpreted and replaced with
> something totally unrelated ($_ means last command executed). The tests runs
> fine under Hadoop 1 though.
--
This message was sent by Atlassian JIRA
(v6.2#6252)