Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Avoiding Key Value Literals in Map reduce out put

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" : [ {  ]} }

Don't have an account?
Coming from Hortonworks? Activate your account here