I cannot delete the entire directory as I have my final output in there. For now, I have created a new action that calls the script to delete part-* files. It would be nice to have this feature in Oozie.
Thanks, Ranjitha On Thu, Aug 16, 2012 at 12:52 PM, Ben Flint <[email protected]> wrote: > Ranjitha, > Would it be possible to structure your data and/or flow so that you could > just delete the entire directory that contains the part* files? > -Ben > > On Aug 16, 2012, at 12:48 PM, Ranjitha wrote: > > > Hi Robert, > > You are right. I was looking for a feature to delete all the part-* > files from Oozie. > > > > If convenient, please create a ticket on this. > > > > Thanks, > > Ranjitha > > On Aug 16, 2012, at 11:51 AM, Robert Kanter <[email protected]> > wrote: > > > >> I just tried deleting some files using a wildcard and it doesn't seem to > >> work. If this is a feature you'd like, please create a JIRA for it (or > I > >> can create one for you if you prefer). > >> > >> If that wasn't your question, can you please clarify what you were > asking? > >> > >> thanks > >> - Robert > >> > >> > >> On Thu, Aug 16, 2012 at 11:32 AM, Robert Kanter <[email protected] > >wrote: > >> > >>> Hi, > >>> > >>> By part*, do you mean that you'd like to delete files using a wildcard? > >>> > >>> For example, if you had a a bunch of files named part-00000, > part-00001, > >>> part-00002, etc you want to be able to delete them all by telling > Oozie to > >>> delete part*. Is this what you're asking? Or did you mean something > else? > >>> > >>> > >>> thanks > >>> - Robert > >>> > >>> > >>> > >>> On Thu, Aug 16, 2012 at 11:15 AM, Ranjitha Kashyap < > [email protected]>wrote: > >>> > >>>> I read that you can delete entire directory or files with proper file > >>>> name, > >>>> but is it possible to remove files (like part*) in Oozie either with > >>>> <prepare> element or <fs> action? > >>>> > >>>> Thanks, > >>>> Ranjitha > >>>> > >>> > >>> > >
