hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sever Fundatureanu <fundatureanu.se...@gmail.com>
Subject Re: Coprocessor Exception Handling
Date Wed, 11 Jul 2012 12:19:58 GMT
>From my experience if a coprocessor throws an IOException it is removed and
the RegionServer goes on without it. However for worse exceptions like
NullPointerExceptions my RegionServer was taken down completely.


On Wed, Jul 11, 2012 at 10:56 AM, Martin Alig <martinalig0@gmail.com> wrote:

> Hi all
> I've implemented a Coprocessor (extending BaseRegionObserver) which
> communicates with another system on postPut. That works good so far.
> Now my question: How should I handle Exceptions that could appear in my
> postPut implementation?
> Is it safe to catch my internal Exception, and then throw an IOException?
> (as indicated by the method signature).
> What happens exactly on the RegionServer when an IOException is thrown from
> the Coprocessor?
> Thank you in advance.
> Martin Alig

Sever Fundatureanu

Vrije Universiteit Amsterdam
E-mail: fundatureanu.sever@gmail.com

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message