Awesome - that works!

On Tue, Feb 14, 2012 at 5:28 PM, Prashant Kommireddi <[email protected]>wrote:

> If you are doing this with Pig, you could use "rmf".
>
> rmf does not throw an error if the file is not present.
>
> Thanks,
> Prashant
>
>
> On Tue, Feb 14, 2012 at 5:19 PM, Flo Leibert <[email protected]
> >wrote:
>
> > Hi -
> > is there a way to do a fs -rmr s3://foo/bar that doesn't result in an
> error
> > if the given directory doesn't exist?
> > I can imagine this is because the underlying hadoop tool gives some
> return
> > code that pig treats as an error - is there a way to force pig to not
> abort
> > on certain errors?
> >
> > Thanks!
> > Flo
> >
>

Reply via email to