hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 乔彦克 <qya...@gmail.com>
Subject Re: How to serialize Result in HBase 1.0
Date Tue, 12 Apr 2016 02:46:57 GMT
Thanks for your response Ted, I've solved this. Just do some settings as
follows:


*conf.setStrings("io.serializations", conf.get("io.serializations"),
     ResultSerialization.class.getName());*

and problem has gone.


Ted Yu <yuzhihong@gmail.com>于2016年4月12日周二 上午8:54写道:

> It seems your code didn't go through.
>
> Please take a look at ResultSerialization and related classes.
>
> Cheers
>
> On Mon, Apr 11, 2016 at 5:29 PM, 乔彦克 <qyanke@gmail.com> wrote:
>
> > Hi, all
> > recently we upgrade our HBase  cluster from cdh-0.94 to cdh-1.0. In 0.94
> > we use Result.java(implement Writable) as the map out value.
> > [image: pasted1]
> > but int the newer HBase version Result.java has changed, it can't be
> > serialized any more. Is there  any alternative methods to use Result as
> >  MapReduce input/output?
> > Thanks for any response.
> >
>

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