crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Ortiz <dor...@videologygroup.com>
Subject RE: Delete output folder automatically in CRUNCH (FlumeJava)
Date Thu, 19 Feb 2015 15:36:06 GMT
Unmesha,

     Here’s a better way to go about the output directory deletion.

Pcollection.write(new Target(“/tmp/file”), WriteMode.OVERWRITE);

Using that WriteMode will force it to delete the output directory if it exists.

-Dave

From: unmesha sreeveni [mailto:unmeshabiju@gmail.com]
Sent: Thursday, February 19, 2015 12:02 AM
To: user
Subject: Re: Delete output folder automatically in CRUNCH (FlumeJava)

Thanks David.


This email is intended only for the use of the individual(s) to whom it is addressed. If you
have received this communication in error, please immediately notify the sender and delete
the original email.
Mime
View raw message