hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Gates <ga...@yahoo-inc.com>
Subject Re: system.exit(-1)
Date Thu, 31 Jan 2008 01:02:13 GMT
We definitely want to get rid of those, so a patch that replaced them 
with exceptions would be welcomed.

Alan.

Stefan Groschupf wrote:
> Hi,
> reading through the code I noticed some System.exit(-1) calls.
> This wouldn't be very helpful in case of a embedded pig. Can we 
> replace those JVM shutdowns with RuntimeExceptions?
> Than at least a system that's embedded pig will not shutdown in case 
> of Pig problem.
> I would be happy to work on a patch, in case we agree on a solution.
> Thanks.
> Stefan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 101tec Inc.
> Menlo Park, California, USA
> http://www.101tec.com
>
>

Mime
View raw message