hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Du Lam <delim123...@gmail.com>
Subject avro mapreduce output
Date Fri, 03 Oct 2014 09:34:35 GMT
Hi,

In mapreduce with reduce output format of <NullWritable,
AvroValue<myavroclass>>

Is it possible for me to get the reduce output without the string
"key:none" and "value"  , i.e. only the content of myavroclass itself??
Thanks!


what i get now:

{u'value': {u'MYCOLUMN1': 'Hello', u'MYCOLUMN2': 'World'}, u'key': None}

what i actually wanted:

{u'MYCOLUMN1': 'Hello', u'MYCOLUMN2': 'World'}

Mime
View raw message