Thanks Drake.
That was the point.It was my mistake.
On Mon, Feb 23, 2015 at 6:34 AM, Drake민영근 wrote:
> Hi, unmesha.
>
> I think this is a gson problem. you mentioned like this:
>
> >> But parsing canot be done in *MR2*.
> *>> TreeInfoWritable info = gson.toJson(setupData,
> TreeInfoWritable.clas
Hi, unmesha.
I think this is a gson problem. you mentioned like this:
>> But parsing canot be done in *MR2*.
*>> TreeInfoWritable info = gson.toJson(setupData, TreeInfoWritable.class);*
I think just use gson.fromJson, not toJson(setupData is already json
string, i think).
Is this right ?
Drake
Am I able to get the values from writable of a previous job.
ie I have 2 MR jobs
*MR 1:*
I need to pass 3 element as values from reducer and the key is
NullWritable. So I created a custom writable class to achieve this.
* public class TreeInfoWritable implements Writable{*
* DoubleWritable entrop