hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Hančar <pavel.han...@gmail.com>
Subject Re: coprocessorExec got stucked with generic type
Date Mon, 10 Jun 2013 13:11:19 GMT
 I see, that's probably big nonsense to return ArrayList (or array) of
another classes from coprocessor, because it's a list of pointers. The
solution is to serialize it to byte[] by SerializationUtils.serialize(

2013/6/10 Pavel Hančar <pavel.hancar@gmail.com>

>   Hello,
> can I return from an EndPoint a generic type? I try to return
> ArrayList<NameAndDistance> from an EndPoint method (where NameAndDistance
> is a simpe class with two public variables name and distance). But when I
> return  unempty ArrayList, the coprocessorExec get stucked.
>   Thanks,
>   Pavel Hančar

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