Hi,

Sometimes there was a hiccup in creating one of the data sets that is used
as the input for a Pig job.
One scenario I ran into last week is that the permissions on an HBase table
were set to that I couldn't read any of the records. The result was an
input dataset of 0 records.

What I would like (but haven't found yet) is a check in a Pig job where I
can say something like "Terminate the entire flow if this set is less than
1000 records".

What is the best way to implement such a 'safety net'?

-- 
Best regards / Met vriendelijke groeten,

Niels Basjes

Reply via email to