You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2008/04/22 02:03:21 UTC
[jira] Created: (PIG-216) Pig Streaming doesn't handle commands
which use Unix pipes
Pig Streaming doesn't handle commands which use Unix pipes
----------------------------------------------------------
Key: PIG-216
URL: https://issues.apache.org/jira/browse/PIG-216
Project: Pig
Issue Type: Bug
Components: impl
Reporter: Arun C Murthy
Assignee: Arun C Murthy
Priority: Blocker
Currently ExecutableManager quotes each component of the the streaming command before exec'ing it via 'bash -c exec ...', this breaks commands which use Unix pipes:
OP = stream IP through `cut -f 1 | sort | uniq -c`
The straight-forward fix is to remove quoting of the command's components...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-216) Pig Streaming doesn't handle commands
which use Unix pipes
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated PIG-216:
------------------------------
Status: Patch Available (was: Open)
Patch passes all e2e tests, submittng for review...
> Pig Streaming doesn't handle commands which use Unix pipes
> ----------------------------------------------------------
>
> Key: PIG-216
> URL: https://issues.apache.org/jira/browse/PIG-216
> Project: Pig
> Issue Type: Bug
> Components: impl
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Priority: Blocker
> Attachments: PIG-216_0_20080421.patch
>
>
> Currently ExecutableManager quotes each component of the the streaming command before exec'ing it via 'bash -c exec ...', this breaks commands which use Unix pipes:
> OP = stream IP through `cut -f 1 | sort | uniq -c`
> The straight-forward fix is to remove quoting of the command's components...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-216) Pig Streaming doesn't handle commands
which use Unix pipes
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated PIG-216:
------------------------------
Attachment: PIG-216_0_20080421.patch
Straight-forward patch, with additional test-cases...
> Pig Streaming doesn't handle commands which use Unix pipes
> ----------------------------------------------------------
>
> Key: PIG-216
> URL: https://issues.apache.org/jira/browse/PIG-216
> Project: Pig
> Issue Type: Bug
> Components: impl
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Priority: Blocker
> Attachments: PIG-216_0_20080421.patch
>
>
> Currently ExecutableManager quotes each component of the the streaming command before exec'ing it via 'bash -c exec ...', this breaks commands which use Unix pipes:
> OP = stream IP through `cut -f 1 | sort | uniq -c`
> The straight-forward fix is to remove quoting of the command's components...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-216) Pig Streaming doesn't handle commands
which use Unix pipes
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-216:
---------------------------
Resolution: Fixed
Fix Version/s: 0.1.0
Status: Resolved (was: Patch Available)
Patch checked in at revision 650606. Thanks Arun.
> Pig Streaming doesn't handle commands which use Unix pipes
> ----------------------------------------------------------
>
> Key: PIG-216
> URL: https://issues.apache.org/jira/browse/PIG-216
> Project: Pig
> Issue Type: Bug
> Components: impl
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.1.0
>
> Attachments: PIG-216_0_20080421.patch
>
>
> Currently ExecutableManager quotes each component of the the streaming command before exec'ing it via 'bash -c exec ...', this breaks commands which use Unix pipes:
> OP = stream IP through `cut -f 1 | sort | uniq -c`
> The straight-forward fix is to remove quoting of the command's components...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.