[jira] Updated: (PIG-1401) 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.

2010-05-04 Thread Pradeep Kamath (JIRA)

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



[jira] Updated: (PIG-1401) 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.

2010-05-03 Thread Pradeep Kamath (JIRA)

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



[jira] Updated: (PIG-1401) 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.

2010-05-03 Thread Pradeep Kamath (JIRA)

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



[jira] Updated: (PIG-1401) 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.

2010-05-03 Thread Pradeep Kamath (JIRA)

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



[jira] Updated: (PIG-1401) 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.

2010-05-03 Thread Pradeep Kamath (JIRA)

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



[jira] Updated: (PIG-1401) 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.

2010-05-03 Thread Pradeep Kamath (JIRA)

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