hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-218) parameter substitution broken with some commands
Date Thu, 24 Apr 2008 12:15:21 GMT

    [ https://issues.apache.org/jira/browse/PIG-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592007#action_12592007

Alan Gates commented on PIG-218:

Will this change handle commands that have a unix pipe in them?  If so, can we add a test
for that?

> parameter substitution broken with some commands
> ------------------------------------------------
>                 Key: PIG-218
>                 URL: https://issues.apache.org/jira/browse/PIG-218
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>            Assignee: Olga Natkovich
>         Attachments: PIG-218.patch
> If parameter value is generated via a command, it would fail for some commands. Example:
> %declare cmd `/usr/local/bin/perl -e 'print "studenttab10k"'`
> This command fails because currently the command is executed via call to Runtime.exec(cmd).
In this case, default tokenizer is used to split the command and it does not respect the quotes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message