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

Pig Streaming doesn't handle commands which use Unix pipes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.1.0
    • impl
    • 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

        1. PIG-216_0_20080421.patch
          3 kB
          Arun Murthy

        Activity

          People

            acmurthy Arun Murthy
            acmurthy Arun Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: