hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Slava Gorelik <slava.gore...@gmail.com>
Subject Re: org.apache.hadoop.hbase.UnknownScannerException: Name: -1
Date Tue, 16 Mar 2010 16:59:17 GMT
Hi Sebastien
Thank You for your suggestion, but all my classes Filters and support
classes for the filter are with default ctor.

Thank You and Best Regards.

On Tue, Mar 16, 2010 at 6:49 PM, S├ębastien Rainville <
sebastienrainville@gmail.com> wrote:

> Hi Slava,
>
> I recently had that problem and the cause was that I wasn't defining a
> public default constructor in the filter class. It's required for
> deserialization of your filter (the filter is instantiated with the default
> constructor and then readFields() is invoked). It's very obscure... scanner
> exceptions should be more explicit.
>
> Sebastien
>
>
>
>
> On Tue, Mar 16, 2010 at 11:39 AM, Stack <stack@duboce.net> wrote:
>
> > On Tue, Mar 16, 2010 at 1:42 AM, Slava Gorelik <slava.gorelik@gmail.com>
> > wrote:
> > > Hi.
> > > I added my filters to the HbaseObjectWritable but the problem is not
> > solved.
> > >
> >
> > And for sure you restarted both sides of the connection and both sides
> > are same compiled code?
> >
> > If so, next up will be seeing whats in the log over on the server.
> > Mismatched interfaces are ugly to debug.  The messages that come out
> > don't tell much about whats actually wrong.  If you remove your code,
> > all works fine?  So its just the addition of your filters that is the
> > prob?
> >
> > St.Ack
> >
>

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