Support Questions
Find answers, ask questions, and share your expertise

Who agreed with this topic

Avoiding Key Value Literals in Map reduce out put

Champion Alumni

Hello,

My map reduce program currently outputs  avro data in the following format.Is there a way I can avoid the key and literals in the output?

 

{
"type" : "record",
"name" : "KeyValuePair",
"namespace" : "org.apache.avro.mapreduce",
"doc" : "A key/value pair",
"fields" : [ {
"name" : "key",
"type" : "null",
"doc" : "The key"
}, {
"name" : "value",
"type" : {
"type" : "record",
"name" : "RecordType",
"namespace" : "model",
"fields" : [ {  ]} }

Who agreed with this topic