[jira] Updated: (PIG-574) run command for grunt
[ https://issues.apache.org/jira/browse/PIG-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olga Natkovich updated PIG-574: --- Attachment: PIG-574.patch run command for grunt - Key: PIG-574 URL: https://issues.apache.org/jira/browse/PIG-574 Project: Pig Issue Type: New Feature Components: grunt Reporter: David Ciemiewicz Priority: Minor Attachments: PIG-574.patch, run_command.patch, run_command_params.patch, run_command_params_021109.patch This is a request for a run file command in grunt which will read a script from the local file system and execute the script interactively while in the grunt shell. One of the things that slows down iterative development of large, complicated Pig scripts that must operate on hadoop fs data is that the edit, run, debug cycle is slow because I must wait to allocate a Hadoop-on-Demand (hod) cluster for each iteration. I would prefer not to preallocate a cluster of nodes (though I could). Instead, I'd like to have one window open and edit my Pig script using vim or emacs, write it, and then type run myscript.pig at the grunt shell until I get things right. I'm used to doing similar things with Oracle, MySQL, and R. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-574) run command for grunt
[ https://issues.apache.org/jira/browse/PIG-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gunther Hagleitner updated PIG-574: --- Attachment: run_command_params.patch Thanks for reviewing the patch! I tried to address the 3 issues you pointed out: 1) You can now specify parameters and param files in both the exec and run command grunt run myscript.pig using param_file myparams.ppf or: grunt run myscript.pig using param LIMIT=5 param_file myparams.ppf The syntax mimics what you can do on the command line when executing a script without the -s. 2) The script lines are now added to the command history in interactive mode 3) The double grunt... That's actually harder to fix than it thought, but I added a newline, so it won't say: grunt grunt but: grunt grunt Let's just tell everyone that that's because they have extra newlines in their scripts. Maybe they won't find out. ;-) run command for grunt - Key: PIG-574 URL: https://issues.apache.org/jira/browse/PIG-574 Project: Pig Issue Type: New Feature Components: grunt Reporter: David Ciemiewicz Priority: Minor Attachments: run_command.patch, run_command_params.patch This is a request for a run file command in grunt which will read a script from the local file system and execute the script interactively while in the grunt shell. One of the things that slows down iterative development of large, complicated Pig scripts that must operate on hadoop fs data is that the edit, run, debug cycle is slow because I must wait to allocate a Hadoop-on-Demand (hod) cluster for each iteration. I would prefer not to preallocate a cluster of nodes (though I could). Instead, I'd like to have one window open and edit my Pig script using vim or emacs, write it, and then type run myscript.pig at the grunt shell until I get things right. I'm used to doing similar things with Oracle, MySQL, and R. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-574) run command for grunt
[ https://issues.apache.org/jira/browse/PIG-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gunther Hagleitner updated PIG-574: --- Attachment: run_command_params_021109.patch Good point. I felt it was a little strange to specify -param on the grunt shell, but it is easier to remember if your using it outside the shell already. So, this patch does the same as the last one, but the syntax is: run myscript.pig -param LIMIT=5 -param FILE=/foo/bar.txt -param_file myparams.ppf run command for grunt - Key: PIG-574 URL: https://issues.apache.org/jira/browse/PIG-574 Project: Pig Issue Type: New Feature Components: grunt Reporter: David Ciemiewicz Priority: Minor Attachments: run_command.patch, run_command_params.patch, run_command_params_021109.patch This is a request for a run file command in grunt which will read a script from the local file system and execute the script interactively while in the grunt shell. One of the things that slows down iterative development of large, complicated Pig scripts that must operate on hadoop fs data is that the edit, run, debug cycle is slow because I must wait to allocate a Hadoop-on-Demand (hod) cluster for each iteration. I would prefer not to preallocate a cluster of nodes (though I could). Instead, I'd like to have one window open and edit my Pig script using vim or emacs, write it, and then type run myscript.pig at the grunt shell until I get things right. I'm used to doing similar things with Oracle, MySQL, and R. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-574) run command for grunt
[ https://issues.apache.org/jira/browse/PIG-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gunther Hagleitner updated PIG-574: --- Status: Patch Available (was: Open) run command for grunt - Key: PIG-574 URL: https://issues.apache.org/jira/browse/PIG-574 Project: Pig Issue Type: New Feature Components: grunt Reporter: David Ciemiewicz Priority: Minor Attachments: run_command.patch This is a request for a run file command in grunt which will read a script from the local file system and execute the script interactively while in the grunt shell. One of the things that slows down iterative development of large, complicated Pig scripts that must operate on hadoop fs data is that the edit, run, debug cycle is slow because I must wait to allocate a Hadoop-on-Demand (hod) cluster for each iteration. I would prefer not to preallocate a cluster of nodes (though I could). Instead, I'd like to have one window open and edit my Pig script using vim or emacs, write it, and then type run myscript.pig at the grunt shell until I get things right. I'm used to doing similar things with Oracle, MySQL, and R. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.