Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-216

Pig Streaming doesn't handle commands which use Unix pipes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: impl
    • Labels:
      None

      Description

      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...

        Attachments

          Activity

            People

            • Assignee:
              acmurthy Arun C Murthy
              Reporter:
              acmurthy Arun C Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: