Grokbase Groups Pig dev May 2010
FAQ
"explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Key: PIG-1401
URL: https://issues.apache.org/jira/browse/PIG-1401
Project: Pig
Issue Type: Bug
Affects Versions: 0.6.0, 0.7.0
Reporter: Pradeep Kamath
Assignee: Pradeep Kamath
Fix For: 0.8.0


"explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.

Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.

This should be documented in the release in which this jira will be resolved.

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

Search Discussions

  • Pradeep Kamath (JIRA) at May 3, 2010 at 6:10 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Attachment: PIG-1401.patch

    Attached patch addresses the issue by checking internal state in GruntParser to check if the current execution is in "explain -script" mode and if so, ignores grunt commands like "run", "copy" etc.
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 3, 2010 at 6:10 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Status: Patch Available (was: Open)
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 3, 2010 at 8:40 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Status: Open (was: Patch Available)

    The patch did not contain the test script file- will attach new patch shortly
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 3, 2010 at 8:42 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Attachment: PIG-1401-2.patch

    New patch includes test script file needed for the unit test. It also has some changes in code to not call executeBatch() in explain -script mode. Also "fs .." commands also invoke executeBatch() now - this was missing but is required since the fs command could be a delete/move/copy command which should result in an execution of the current batch just like the "rm, mv and cp" grunt statements do.
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 3, 2010 at 8:42 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Status: Patch Available (was: Open)
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at May 3, 2010 at 11:17 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863561#action_12863561 ]

    Hadoop QA commented on PIG-1401:
    --------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12443481/PIG-1401.patch
    against trunk revision 940502.

    +1 @author. The patch does not contain any @author tags.

    +1 tests included. The patch appears to include 3 new or modified tests.

    +1 javadoc. The javadoc tool did not generate any warning messages.

    +1 javac. The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs. The patch does not introduce any new Findbugs warnings.

    +1 release audit. The applied patch does not increase the total number of release audit warnings.

    -1 core tests. The patch failed core unit tests.

    +1 contrib tests. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/312/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/312/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/312/console

    This message is automatically generated.
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at May 4, 2010 at 2:00 am
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863616#action_12863616 ]

    Hadoop QA commented on PIG-1401:
    --------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12443498/PIG-1401-2.patch
    against trunk revision 940601.

    +1 @author. The patch does not contain any @author tags.

    +1 tests included. The patch appears to include 6 new or modified tests.

    +1 javadoc. The javadoc tool did not generate any warning messages.

    +1 javac. The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs. The patch does not introduce any new Findbugs warnings.

    -1 release audit. The applied patch generated 529 release audit warnings (more than the trunk's current 528 warnings).

    -1 core tests. The patch failed core unit tests.

    +1 contrib tests. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/307/testReport/
    Release audit warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/307/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/307/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/307/console

    This message is automatically generated.
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 4, 2010 at 6:01 am
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Status: Open (was: Patch Available)
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 4, 2010 at 6:03 am
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Attachment: PIG-1401-3.patch

    New patch with a fix in the test script used in TestGrunt unit test
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401-3.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 4, 2010 at 6:03 am
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Status: Patch Available (was: Open)
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401-3.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at May 4, 2010 at 11:23 am
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863760#action_12863760 ]

    Hadoop QA commented on PIG-1401:
    --------------------------------

    -1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12443548/PIG-1401-3.patch
    against trunk revision 940601.

    +1 @author. The patch does not contain any @author tags.

    +1 tests included. The patch appears to include 6 new or modified tests.

    +1 javadoc. The javadoc tool did not generate any warning messages.

    +1 javac. The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs. The patch does not introduce any new Findbugs warnings.

    -1 release audit. The applied patch generated 536 release audit warnings (more than the trunk's current 535 warnings).

    +1 core tests. The patch passed core unit tests.

    +1 contrib tests. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/313/testReport/
    Release audit warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/313/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/313/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/313/console

    This message is automatically generated.
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401-3.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 4, 2010 at 4:07 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863859#action_12863859 ]

    Pradeep Kamath commented on PIG-1401:
    -------------------------------------

    The release audit warning is due to the new test script file added in the patch and can be ignored - the patch is ready for review.
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401-3.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Olga Natkovich (JIRA) at May 4, 2010 at 5:59 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863921#action_12863921 ]

    Olga Natkovich commented on PIG-1401:
    -------------------------------------

    +1
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401-3.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Pradeep Kamath (JIRA) at May 4, 2010 at 6:44 pm
    [ https://issues.apache.org/jira/browse/PIG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Pradeep Kamath updated PIG-1401:
    --------------------------------

    Status: Resolved (was: Patch Available)
    Hadoop Flags: [Reviewed]
    Resolution: Fixed

    Patch committed to trunk
    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Key: PIG-1401
    URL: https://issues.apache.org/jira/browse/PIG-1401
    Project: Pig
    Issue Type: Bug
    Affects Versions: 0.6.0, 0.7.0
    Reporter: Pradeep Kamath
    Assignee: Pradeep Kamath
    Fix For: 0.8.0

    Attachments: PIG-1401-2.patch, PIG-1401-3.patch, PIG-1401.patch


    "explain -script <script file>" executes grunt commands like run/dump/copy etc - explain -script should not execute any grunt command and only explain the query plans.
    Note: "explain <alias>" statement in the script will still cause all grunt commands upto the explain to be executed. This issue only fixes the behavior of "explain -script <script file>" wherein any grunt commands like "run", "dump", "copy", "fs .." present in the supplied <script file> will need to be ignored.
    This should be documented in the release in which this jira will be resolved.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedMay 3, '10 at 4:17p
activeMay 4, '10 at 6:44p
posts15
users1
websitepig.apache.org

1 user in discussion

Pradeep Kamath (JIRA): 15 posts

People

Translate

site design / logo © 2022 Grokbase