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

Add Preprocessor commands and more to the black/whitelisting feature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0, 0.13.1
    • 0.14.0
    • None
    • None
    • Patch Available
    • Reviewed

    Description

      Executing Pig scripts in a multi-tenant environment within the context of the app server requires disabling certain other commands that could be dangerous. For eg, the shell commands contained within the pig script will be executed as the user (possibly superuser) on the app server. The following is an example

      %declare X `id`;

      An admin might want to disable certain features, such as either disabling "shell" entirely or even being extra cautious by disabling "declare". Some more commands that could be disabled are - default, define (dynamic invokers), run and exec.

      Attachments

        1. PIG-4080_2.patch
          21 kB
          Prashant Kommireddi
        2. PIG-4080.patch
          21 kB
          Prashant Kommireddi

        Activity

          People

            prkommireddi Prashant Kommireddi
            prkommireddi Prashant Kommireddi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: