deva-rajan / hamake

Automatically exported from code.google.com/p/hamake
0 stars 0 forks source link

Feature suggestion, including implementation #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm working on using hamake to drive hive jobs (via <exec> and shell scripts, 
for now) and discovered that hamake always deletes output files before running 
jobs.  This behavior is appropriate and necessary for pig jobs, but is 
unnecessary for hive jobs.

Given this, and that I would like to avoid making previously-built data 
inaccessible while a job is running, I have added a boolean attribute to 
<foreach> called delete_first that allows users to disable this functionality.

I'm posting this here in case it might be helpful for anyone else.  The 
attached patch is against trunk@372.

-peter

Original issue reported on code.google.com by petenewc...@gmail.com on 17 Jul 2011 at 9:37

Attachments:

GoogleCodeExporter commented 8 years ago
Oops, should have included "delete_first" in the issue title.  Apparently I 
can't change it after the fact, sorry!  Also, I don't seem to be able to create 
a non-defect issue.

-peter

Original comment by petenewc...@gmail.com on 18 Jul 2011 at 12:06

GoogleCodeExporter commented 8 years ago
I have commited the patch. Thanks!
We need to update documentation as well.

Original comment by kroko...@gmail.com on 20 Jul 2011 at 5:55